This example provides a bundle containing an updated SoundEffect behavior with built in Directional Audio, compared to the players location.
Play:
Pause:
Stop:
Volume+: Sets a maximum volume the sound will hit. Great if you need background or quieter noises.
Radius: Sets a distance around the sound source where the audio can be heard. The farthest point will start at 0 volume and increase towards the source.
Pan+: Sets a distance where the pan will start to take effect. The pan will adjust the audio from left to right speaker depending on the location of the player to the source. When in this proximity, the pan will start to adjust.