Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question My animation always set my character to root.

Discussion in 'Animation' started by zhutianlun810, May 11, 2024.

  1. zhutianlun810

    zhutianlun810

    Joined:
    Sep 17, 2017
    Posts:
    183
    Hello,

    I have two animation and I use a animation controller to transit one to another. However, I find that my character always goes back to root after first animation finishing, and then the second animation can start.

    I find that switching animation type from generic to humaniod can solve the problem. But some animation do not behave like generic in humaniod mode. It becomes jittery. I googled a lot it seems the problem is releated to root motion? I have set the root motion to <Root Transform> and turn on "Apply Root Motion" in Animator, but it does not work.

    Any ideas?
     
  2. my_little_kafka

    my_little_kafka

    Joined:
    Feb 6, 2014
    Posts:
    92
    Did you provide a root node in the mesh's Rig config tab?