lovr.headset.getHands
EditReturns a table with all of the currently tracked hand devices.
hands = lovr.headset.getHands()
Arguments
None
Returns
Name | Type | Description |
hands | table | The currently tracked hand devices. |
Notes
The hand paths will always be either hand/left
or hand/right
.
Example
function lovr.update(dt)
for i, hand in ipairs(lovr.headset.getHands()) do
print(hand, lovr.headset.getPose(hand))
end
end