lovr.audio.setPose
EditSets the position and orientation of the virtual audio listener.
Set the pose of the listener using numbers.
Arguments
| Name | Type | Description |
| x | number | The x position of the listener. |
| y | number | The y position of the listener. |
| z | number | The z position of the listener. |
| angle | number | The number of radians the listener is rotated around its axis of rotation. |
| ax | number | The x component of the axis of rotation. |
| ay | number | The y component of the axis of rotation. |
| az | number | The z component of the axis of rotation. |
Returns
Nothing
Set the pose of the listener using vector types.
Arguments
| Name | Type | Description |
| position | Vec3 | The position of the listener. |
| orientation | Quat | The orientation of the listener. |
Returns
Nothing
Notes
The position of the listener doesn't use any specific units, but usually they can be thought of as meters to match the headset module.