Search Unity

Scripts and animation interfering?

Discussion in 'Scripting' started by jtman562, Jan 24, 2011.

  1. jtman562

    jtman562

    Joined:
    Dec 11, 2010
    Posts:
    368
    Hey guys. I'm working on a side scroller and I have a problem. You see, I have this giant snake that jumps up and down. It has 50 health and is supposed to die when it reaches 0(Weird Huh?). It works fine if the animation is turned off. But if its on the snakes health just keeps going down into the negatives. Why is this happining?