Hi, I’m trying to learn IK functions for the first time. I made an attempt trying to raise my hand at a point marked “SetIKPosition”. It works but the hand and arm are lifted instantly, without an interpolation between the previous and the new position.
Is there a way to interpolate the two positions or to move the limbs with IK more slowly?
You can use Vector3.Lerp on the position you pass into the function.
1 Like
could you indicate how?
I used the animator.GetIKPosition function to take the position of the hand and a vector lerp that goes from the position taken to the target one, but the arm trembles instead of getting up.
Oh, that. Hm… yeah, I don’t know of a solution for that one.