Method of Loci - FootstepAudioComponent - Depth detection & Footstep sound playback
- Exposure: public
- UE Version: 5.2
This is a showcase of an audio system I made for "Method of Loci" at Breda University of applied sciences. The system allows the developer to set depth thresholds that control the playback of different sounds. In this showcase, thresholds have been set for shallow water and for deep water. The footstep sounds that are played back change depending on which threshold the player character is exceeding. Additionally, the developer can set a threshold to switch up the timing: Multiple animation notifies can call the function, and based on the associated depth threshold, the audio playback will be lined up with the corresponding animation frame.
ctrl + v