Source:setRelative

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

Source:setRelative(relative)

Arguments

NameTypeDescription
relativebooleanWhether or not the Source should be relative.

Returns

Nothing

See also