Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

udesireable feet waggling

Discussion in 'Animation' started by mikejkelley, Dec 12, 2013.

  1. mikejkelley

    mikejkelley

    Joined:
    Dec 20, 2011
    Posts:
    39
    I have an idle animation where the character shifts her weight back and forth. I've made sure it plays properly in-game by checking "Root Transform Rotation" "bake into Pose" "Based Upon [Original]."

    This ensures that her feet stay put and she (her root/hips) shifts back and forth (as opposed to unchecked where she'd stay put but her feet would waggle back and forth beneath her). So that's good.

    The problem is, when I have her fire, I use an upper torso body mask layer override that includes root transformation. This means that when she fires the mask takes control of the root transform and she (her root) remains stationary and her feet go back to dangling and waggling. Of course, the body mask taking control of the root transform is desirable in conjunction with all other animations but this one, ensuring that she fires straight ahead.

    How can I keep her feet planted?
     
  2. mikejkelley

    mikejkelley

    Joined:
    Dec 20, 2011
    Posts:
    39
    Alternately, how can I make sure her aiming/firing anims always points fwd?
     
    Last edited: Dec 13, 2013
  3. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    7,354
    Going out on a limb here, but if you have Pro, perhaps you could solve the aiming problem with inverse kinematics?

    HTH,
    - Joe