Search Unity

Transform through animation, not script

Discussion in 'Animation' started by Odd-Redesign, Nov 24, 2013.

  1. Odd-Redesign

    Odd-Redesign

    Joined:
    Jul 26, 2013
    Posts:
    134
    Hey there, unity community,

    I'm trying to get this https://www.youtube.com/watch?v=lnguV1v38z4 tutorial done and I'm completely stuck. Actually my problem isn't about the code or following his instructions, but with the animations he uses (bought from asset store, I don't know).

    > His walking animations include a transformation in a specific axis. He doesn't need to care about a walking script as unity cares about that completely. My Animations are bound to the center - I made them in blender and was quite confident with making a walking cycle that sticks to it's position. How can I make my animations move into a specific direction?

    When I'm in the inspector my animation stays at the center position. His moves forward even in this window.
    $animation.png

    I'd be really really thankful for help.
     
  2. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Animate the root bone for the actual character movement.