Const
Surface-Aware Footstep Audio System.
Automatically plays appropriate footstep sounds based on detected surface materials. Includes built-in sound pooling for high polyphony and rate throttling.
<FootstepAudio surfaces={{ grass: '/sounds/step_grass.mp3', water: '/sounds/step_water.mp3' }} volume={0.6}/> Copy
<FootstepAudio surfaces={{ grass: '/sounds/step_grass.mp3', water: '/sounds/step_water.mp3' }} volume={0.6}/>
Surface-Aware Footstep Audio System.
Automatically plays appropriate footstep sounds based on detected surface materials. Includes built-in sound pooling for high polyphony and rate throttling.