Character can't move when adding multi-parent constraint (animation rigging)

I am following along with this tutorial

My end goal is to attach a gun to my characters hand and aim at the center of the screen with the gun. (A third person shooter). It seems like the best way to do this is with animation rigging. However whenever I add the multi parent constraint I end up getting an issue. It’s a big one also, my character is not able to move. I am somewhat new to unity and this is my first forum post so if there’s any information you need me to include just let me know, Thanks.



1 Like

Try checking “apply root motion” in the animator component of your character

1 Like

@cbadenhausen have you find the solution yet…?

you need to use root motion

yeah it will work

I was also facing the same issue.
Apply Root Motion to Animator and increase the Walk and Run speed by 10 times.
This should fix your issue

What if I don’t want to use root motion?

Did you find a solution?

I found a solution that might help you. in your character script, declare a private void OnAnimatorMove

private void OnAnimatorMove() {}

And check it solved

8676540--1169463--upload_2022-12-20_18-15-38.png

4 Likes

Thank you so much! I was completely lost, and your solution helped me :slight_smile:

OMG ! Thank you very much for help !

what does it even mean?
there is no mimage of what to do

What the hell i need to do?

Apparently all you need is the OnAnimatorMove() method nothing else and it works. No clue why it works but it does.

1 Like

IT WORKS!THANK YOU.

The OnAnimatorMove() method is a callback function in Unity that is automatically called by the Animator component. By implementing this method in your script, you can override the default root motion handling behavior.

I may have found a solution. Turn on RootMotion in Animator regardless of if you are using any root motion Anim or not.

you are fxxking genius.