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. Dismiss Notice

Keep Root Motion on an Animation Layer from affecting the rest... [Solved I think]

Discussion in 'Animation' started by infinitypbr, Jun 15, 2016.

  1. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Hello!

    I have a half snake half human character, and I'm attempting to rig it so that the upper body (human part) can be used with other human animations. I've created an avatar mask with just the upper body.

    However, whenever I run the animations on that layer, the rest of the body (which isn't part of the mask), gets affected by the upper body. I'm not sure, but I think root motion is affecting it.

    Is there a way to keep the upper body from "moving" the rest of the model?
    Thanks!

    SOLVED!

    I didn't realize there's a difference between the picture of the human and the bone list in the Avatar Mask setup. I always thought the picture of the human was just like a quick "helper" of sorts. I was wrong.

    Setting it up like this seems to work.

     
    Last edited: Jun 15, 2016
    theANMATOR2b likes this.
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    Disable root motion?
     
  3. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    I still want root motion to affect the character, but from the base layer. The character moves / walks and all that. But it appears that the lower portion is being swung around with the motion from the upper portion.

    Is it possible to disable root motion for just one animation layer?
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    Hmmm try ticking bake into pose in the animation import settings for all animations you use in that layer.
     
    infinitypbr likes this.
  5. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Thanks -- that helped a bit. The "Upper Body" layer is now acting properly it looks like, but the Base Layer, which has the tail, is not. It actually gets swung up still, so maybe the issue is on the base layer instead.

    I made a short 1 minute video showing the issue, if that helps.

    http://infinitypbr.com/serpentWarrior/Serpent.mp4
     
  6. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    I should point out that when the "Upper Body" animations do have movement (like a walk animation etc), the entire model moves. I would expect it to not move, however, I don't know how to keep the root node of the body from being affected.
     
  7. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Solved, I think. C heck the top post
     
    AcidArrow likes this.