Search Unity

Interrupt a transition with exit time

Discussion in 'Animation' started by TacoUwU, May 19, 2020.

  1. TacoUwU

    TacoUwU

    Joined:
    Dec 29, 2015
    Posts:
    2
    Hello! :D

    I have a combo system where i call it with "Anim.Play()" each hit, but the problem starts when i finish the first attack and then my animation goes to idle (because i put an exit time in the transition to when i end my combo or my combat) and then in idle attack again, it makes a bit annoying when the player tries to attack with more than 2 hits, the player sees "attack1 - idle - attack2 - idle - attack3 - idle" i tried to use "interruption source" in all the options but seems to dont work for me.

    I tried with making the transition to attack to idle from a bool to don't have to use the "Has Exit Time" but it goes horrible and freezes the animation a lot of times