Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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:
    119
    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.