lovr.audio.getPose
EditReturns the position and orientation of the virtual audio listener.
x, y, z, angle, ax, ay, az = lovr.audio.getPose()
Arguments
None
Returns
Name | Type | Description |
x | number | The x position of the listener, in meters. |
y | number | The y position of the listener, in meters. |
z | number | The z position of the listener, in meters. |
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. |