Animator blocking movement - why? (563630)

Hello everyone I’m quite new to Unity and I have the following problem:

I have 2 animations for my character (Idle and walk) but there’s a strange conflict between the animator and the rigidbody. No physics (and no movement at all) is applied to my character when the animator is active. When I deactivate the animator gravity is applied to the character. This occured when I added the second animation to the Animator. When I remove the second animation (and only have the Idle animation in the animator), physics and movement are working again.

I have “Apply Root Motion” unselected and Update Mode to normal. If I select “Animate Physics”, my character is looking really buggy (moving up and down very quickly).

I appriciate any help. Thanks in advance :slight_smile:

1 Like

Does your animation animate the position in any way?

1 Like

Yes in the Idle animation the body of my character is slightly moving up and down and I use the rotation of the upper and lower leg parts to keep him on ground-level.
Shouldn’t I do that?

I had similar problem during last Ludum Dare. I even made Unity answers question about it but I couldn’t find any answer to it: Having animator component enabled prevents character movement - Questions & Answers - Unity Discussions

Thanks a ton for this hint!
I had the position of the parent-object animated and that caused all the strange behaviour. I removed this property from the parent and instead animated the position of the child-sprite.
My character… he’s walking now! :smile:

1 Like