Source:setPosition

Sets 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.

Only mono sources can be positioned.

Source:setPosition(x, y, z)

Arguments

NameTypeDescription
xnumberThe x coordinate.
ynumberThe y coordinate.
znumberThe z coordinate.

Returns

Nothing

See also