Is there a way to set "footsteps" for characters?

I want to add “footsteps” while the character is moving.

In the character’s script, I want to continuously execute the “play sound” action for footsteps during the “movement state,” but the “play sound” action only plays once. Is there a way to repeatedly execute the action during the state, or are there other methods?

How about adding sound through Animationprayer?

Although sounds from the sound database cannot be used,

you can register separate sound effect files as child nodes

and play them within the animation track, which should work.

In this case, you’ll be able to trigger footstep sounds at the desired timing.

1 Like

Thank you!
I tried it and it worked perfectly!
I can also adjust the timing with the animation, so I can add better footstep sounds.
This is very helpful.

1 Like