Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Apply Root Motion : off and Feet swimming during idle

Discussion in 'Animation' started by lbender, Apr 23, 2014.

  1. lbender

    lbender

    Joined:
    Dec 16, 2013
    Posts:
    7
    I have a humanoid mecanim character rig who has no animations of its own.
    I import FBX animations for idle, run and a jump.

    I want these animtions to loop while the character remains in place.

    The issue is Apply Root Motion setting causes problems
    Apply Root Motion on: feet stay planted but unwanted translations and rotations on root
    Apply Root Motion off: foot swimming during idle, but root transform postion motion as desired

    Turning on foot IK for the idle has no effect.

    All animations are custom in house 3dsMax files exported as FBX (bones only) baking keyframes.

    The animation preview in the inspector shows the idle animating correctly without feet sliding.
     
    Last edited: Apr 24, 2014
  2. lbender

    lbender

    Joined:
    Dec 16, 2013
    Posts:
    7
    I appears that , for the Idle, this was fixed by selecting the animation clip
    and in the inspector checking "Bake Into Pose" for all Root Transform Options.
     
    qh294 likes this.
  3. Goss

    Goss

    Joined:
    Dec 6, 2012
    Posts:
    11
    Perhaps try looking at the properties of each animation clip. If you enable all those settings, then root motion won't be applied to those.
     
  4. Mecanim-Dev

    Mecanim-Dev

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    Exactly, if you want your motion to be in place because you want to manage the root motion by your self, select your clip in the model importer inspector and make sure that Root transform rotation and Position are all set to Bake Into Pose.
     
    theANMATOR2b likes this.
  5. SlyTrip

    SlyTrip

    Joined:
    Apr 16, 2015
    Posts:
    3
    Wow, thanks Mecanim-Dev, I was really stumped till I saw your post. All is working now! :)
     
  6. Cassos

    Cassos

    Joined:
    May 20, 2018
    Posts:
    16
    This was so annoying to have. Thanks!