lovr.audio.setPosition

Sets the position of the virtual audio listener, in meters.

lovr.audio.setPosition(x, y, z)

Arguments

NameTypeDescription
xnumber The x position of the listener.
ynumber The y position of the listener.
znumber The z position of the listener.

Returns

Nothing

See also