Source:setRelative

Sets whether or not the Source is relative to the listener. If a Source is relative then its position, velocity, cone, and direction are all relative to the audio listener.

Source:setRelative(relative)

Arguments

NameTypeDescription
relativebooleanWhether or not the Source is relative.

Returns

Nothing

See also