Hello,
I have a problem with animations in this animation state machine. I have an Idle state that connects with Any State and I have also Attack state which is also connected with this Any State. The condition for attack state is a trigger. When I set the trigger the attack state goes active and animation is started but it turns off very quick and back to Idle state. Is there any way to prevent moving out from this Attack state until the animation is fully played?
[Update]
I’ve created same transition as it was from Any State to Idle but from Attack_1 to idle and in this case it works as it should - Attack animation is fully played. But why it’s not working when this transition goes from Any State?
[Solution]
Ok it looks that i just have to set this Has Exit Time to true (even with value = 0) and it works.