lovr.audio.setPose

Sets the position and orientation of the virtual audio listener.

lovr.audio.setPose(x, y, z, angle, ax, ay, az)

Arguments

NameTypeDescription
xnumber The x position of the listener, in meters.
ynumber The y position of the listener, in meters.
znumber The z position of the listener, in meters.
anglenumber The number of radians the listener is rotated around its axis of rotation.
axnumber The x component of the axis of rotation.
aynumber The y component of the axis of rotation.
aznumber The z component of the axis of rotation.

Returns

Nothing

See also