0 votes

For instance a heel strike when a characters foot hits the ground.

asked Jul 28 in Projects by S7u (14 points)

1 Answer

0 votes

Using an AnimationPlayer node, you can do this in at least two different ways.

  1. Add a new animation track, and select "Call Method Track". This will let you call a custom method, which can handle triggering the audio.

  2. Again, add a new animation track, but select "Audio Playback Track". You can reference this post for more details about this option: https://godotengine.org/qa/39679/can-i-play-sounds-using-the-animationplayer

answered Jul 28 by Eric Ellingson (578 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.