Source:setVelocity

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

Source:setVelocity(x, y, z)

Arguments

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

Returns

Nothing

Notes

The Source does not move based on its velocity.

See also