“Snail Trail” Tech Breakdown
Spatial Sources
Four empty game objects were attached to the player to serve as spatial sources, ideal for emitting leaves rustling overhead as part of the forest ambience.
The sources could also be triggered using box colliders for dynamic orchestrated scares around the map, which make it easier for sound to be emitted from a specific direction without the need for additional sound source objects placed around the world.
Trigger Pairs
Having identified that sounds were often triggered linearly using box colliders, a prefab was made consisting of an empty trigger and an attached sound source.
A script was then attached to the collider, allowing the control of various parameters, including functionality that allows the sound source to move in a pre-determined direction for added realism.