Source:getPosition
Returns the position of the Source, in meters. Setting the position will cause the Source to be distorted and attenuated based on its position relative to the listener.
x, y, z = Source:getPosition()
Arguments
None
Returns
Name | Type | Description |
x | number | The x coordinate. |
y | number | The y coordinate. |
z | number | The z coordinate. |
See also
Source:getOrientation
Source:getPose
Source:getCone
lovr.audio.getPosition
Source:setPosition
Source