Source:getVelocity

Returns the velocity of the Source, in meters per second. This affects the doppler effect.

x, y, z = Source:getVelocity()

Arguments

None

Returns

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

Notes

The Source does not move based on its velocity.

See also