This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

Hello, first time question, been using Godot off and on for about a year.

I'm trying to implement IK foot placement for a few weeks now. I can get the foot of my model to snap to the floor, but now I don't know how to mix it in with my animations.

I'm using the SkeletonIK node to move the foot to a raycast hit location, but now that chain of bones won't animate anymore. How would I blend the idle or run animations with the IK result in an AnimationTree?

My scene

I tried making an animation with the IK target and adjusting it in the script, but they don't share animation tracks.

EDIT: fixed image link

in Engine by (13 points)
edited by

1 Answer

0 votes

Blending animations with IK currently seems to be handled differently from blending in the rest of the animation system. Namely, the reason that

now that chain of bones won't animate anymore

is that the interpolation property of a SkeletonIK node is set to 1 by default.

Simply change interpolation to have a value less than 1 (or animate it).

by (14 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.