0 votes

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

in Engine by (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

by (1,656 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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.