Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Root motion animation changes root node position. When it should not.

Discussion in 'Animation' started by koirat, Apr 23, 2023.

  1. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,065
    My setup:

    Two fbx files, one for a model second for animation, both grabbed from Mixamo.
    I select Rig to "Generic" for both and set the "Root node" to my "Hips" transforms.

    On a model side I add Animator with apply root motion enabled.
    And add animation controller that will play single animation in a loop.

    On animation side I set "Root Transform Rotation" as baked.
    And the other (Y) and (XZ) to not baked.
    I set "Loop Time" to checked and "Loop Pose" to unchecked.


    The problem:

    The root motion is indeed performed when I play animation, problem is that my "Hips" transform is not animating in place so I have got two motions, one for Transform with Animator and second for my RootBone "Hips".
     
    Last edited: Apr 23, 2023