Last updated: Sep 9, 2022
The Footstep Player component is in charge of playing footstep sounds for the player. We have this as a separate component so as to make sure that it can be super easily removed, and replaced for a more custom implementation, as our setup is quite basic at the moment.
You can find the Footstep Player at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Miscellaneous\FootstepPlayer.cs
Animator. Reference to the character’s Animator component.
Audio Source. Reference to the AudioSource component meant to play the footstep sounds.
Min Velocity Magnitude. Minimum magnitude of the movement velocity at which the audio clips will start playing.
Audio Clip Walking. The audio clip that is played while walking.
Audio Clip Running. The audio clip that is played while running.