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.

udesireable feet waggling

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

  1. mikejkelley

    mikejkelley

    Joined:
    Dec 20, 2011
    Posts:
    43
    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:
    43
    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:
    9,833
    Going out on a limb here, but if you have Pro, perhaps you could solve the aiming problem with inverse kinematics?

    HTH,
    - Joe