Search Unity

Animation changes root position despite having 'apply root motion' unchecked

Discussion in 'Animation' started by codingSince666, Nov 25, 2021.

  1. codingSince666

    codingSince666

    Joined:
    Oct 21, 2021
    Posts:
    16
  2. Grhyll

    Grhyll

    Joined:
    Oct 15, 2012
    Posts:
    113
    I think your understanding of root motion could be wrong. If I'm correct, applying root motion means that instead of moving the root bone, it will move the model itself.
    I think if you add a OnAnimatorMove callback on a component on the same game object as your animator, you should be able to do whatever you want from the info provided. Alternatively, you could use an avatar mask to ignore animation on the root bone.
     
unityunity