Search Unity

Animation not starting when I'd like it to

Discussion in 'Animation' started by TurduckenMan, Apr 27, 2014.

  1. TurduckenMan

    TurduckenMan

    Joined:
    Apr 20, 2014
    Posts:
    29
    I have a "move" animation and a death animation in my controller, and in game when I die I want any animation that's currently playing to just stop so that the death animation can play, because as it is the movement animation finished before starting the death one, which looks really goofy!

    I'm using triggers to set when the animation is changed, and the triggers are working just fine, I just need to know how to cut the move animation off early to just start the death one.

    Any help would be much appreciated!
     
  2. funshark

    funshark

    Joined:
    Mar 24, 2009
    Posts:
    225
    Try to select your transition, verify that there is no Exit time condition; then switch your inspector into Debug mode ( open the tiny menu in the top right corner ) and set the Transition parameter to 0