My character appears to be jumping off the ground when switching between crouching and idle animations. How can I fix this?

I switch between crouch and uncrouch locomotions with blend poses by bool. Root Motion is active in my animations. At the same time, I change the Height of the Capsule Component when the crouching process occurs. Unfortunately I cannot upload my video to show the problem.

Many ways to do it, but a common method is when the player crouches or un-crouches, Lerp the height of the capsule component somewhat in sync with the animation.

It will be additional states in your character, something like: walking >> crouching >> crouched > uncrouching >> walking.

First of all, thank you for your time. I already Lerp the height of the capsule component after the timeline. I think the problem is caused by Foot IK, but I don’t know how to fix it. When the character crouches, his foot goes slightly under the ground and rises from the ground after a few seconds. For this reason, there is an instant rise and fall. When uncrouched, he instantly lifts off the ground a few cm and then straightens up again.

I found the solution in another topic. If someone else need it, here is the link: When crouching, the character go under ground - #2 by IndieGameCove

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.