lovr.headset.setPosition
EditSets the virtual position of a device. When no headset sesssion is active, getting the position of the device will return this position. This is used to implement the keyboard/mouse headset simulator in the lovr.simulate callback.
Arguments
| Name | Type | Description |
| device | Device | The device to assign the position to. |
| x | number | The x position of the device. |
| y | number | The y position of the device. |
| z | number | The z position of the device. |
Returns
Nothing
Arguments
| Name | Type | Description |
| device | Device | The device to assign the position to. |
| position | vector | The position of the device. |
Returns
Nothing