Search Unity

Root motion computer on humanoid character is on uni cycle

Discussion in 'Animation' started by Alee619, Nov 2, 2013.

  1. Alee619

    Alee619

    Joined:
    Mar 26, 2013
    Posts:
    1
    Hello,

    I am.new to unity 3d.i have imported a charavter from
    3ds max.my character is humanoid sitting on
    Uni cycle,when i apply root motion computer script
    To my character having run aninatiom.the animation
    Moves forward but when one loop finishishes its
    Starts the next not from the ending position but slightly
    Before the ending position,i hav searched alot
    but coudnt get to the issue solution.
    The only thing i found is pelvis.
    Please help me in this regards.
    Animation Runing on unicycle
    when the anim enda it should start from the ending position
    But its getting started from mid of last animation
    displacement.
    Thanks
     
  2. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,694
    You're probably applying root motion without extracting it from the animation. So the root motion computer is moving the character's transform forward, and the animation is also moving the mesh forward from its origin. This means it's moving twice as far as it's supposed to. When the animation loops, the mesh returns to the origin, which causes it to look like the character jumps back halfway.

    Unity has two animation systems. If you need more help, please specify whether you're using the Mecanim or Legacy animation system. If you're using Legacy, specify what root motion computer you're using (e.g., Mixamo RMCv2).