Sound doesn't roll off when in a folder?

I have a couple of sounds in folders (inside a part) but I noticed that when I play them they can be heard anywhere on the map. Whereas if I play them when they are parented to the part they roll off just fine. I tried using SoundGroups but they don’t work either. Any help?

1 Like

Sounds are only localized when its immediate parent is a part or attachment. If the parent is anything else, the sound is played globally.

SoundGroups just allow you to apply effects and volume mixing to multiple sounds at the same time. They don’t influence the locality of any individual Sound instance.

2 Likes

Is there any alternative to a folder I could use that would localize sounds?

No Instance can be placed between a sound and the part you want it to play from, while retaining locality. Outside of the basic instance hierarchy of a game, you can assign Tags to Sounds or a put them in a table in a script for better opportunities for organization.

Games that implement the new audio system using wires have a similar instance for sounds, AudioPlayer, which can be Parented a lot more freely since the locality is separately controlled by an AudioEmitter.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.