Source:setDirection

Sets the direction vector of the Source (the direction it's playing in).

Source:setDirection(x, y, z)

Arguments

NameTypeDescription
xnumberThe x component of the direction vector.
ynumberThe y component of the direction vector.
znumberThe z component of the direction vector.

Returns

Nothing

See also