Search Unity

Walking/Movment Animation not Working

Discussion in 'Animation' started by MistaMcswagg, Mar 7, 2014.

  1. MistaMcswagg

    MistaMcswagg

    Joined:
    Feb 6, 2014
    Posts:
    1
    So I am extremely new to Unity, so I don't know much, but when I want to make a animation for my first person character, it won't enable the animation. I dragged the java script file to the hands of the first person character, but it does not work. I have a simple walking animation. The name of the animation is walkinganimation :), here is the script.
     

    Attached Files:

    Last edited: Mar 7, 2014
  2. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,697
    The hands object must have an Animation component, and the list of animations on that component must include "walkinganimation".