Search Unity

Legacy Animation problem!

Discussion in 'Animation' started by GogoEdward, Jan 18, 2015.

  1. GogoEdward

    GogoEdward

    Joined:
    Oct 7, 2012
    Posts:
    55
    FIXED!
     
    Last edited: Jan 19, 2015
  2. paulus51

    paulus51

    Joined:
    Dec 5, 2012
    Posts:
    33
    hi glad for you that you fixed your problem but;

    it would be nice that if you got a problem and it is fixed please let others now what you have done to fix a problem ;-)
     
  3. GogoEdward

    GogoEdward

    Joined:
    Oct 7, 2012
    Posts:
    55
    The problem was, that I had an animation for a certain object. The animation was playing in the Animation window but when I'd start the game, it wouldn't play anymore(I was controlling the animation through a script). So I ticked the box "Play automatically" in the Inspector, and wrote a print message within the script to tell me if the animation was or was not playing. The script was telling me that the animation WAS playing, but the object wouldn't move in-game. It turned out it was marked as Static in the inspector. Unchecking the Static box fixed it.
     
  4. paulus51

    paulus51

    Joined:
    Dec 5, 2012
    Posts:
    33
    ah oke , i have uncheckt the static box on all my characters , thanks for the info :) !