I have an attack animation that I want it to be played when I press a key. Animation of the state machine works fine at the beginning. However, when I press the key to attack, attack animation is played and after it is complete, animation of the state machine does not work. Character gets to be stuck in one position. Any ideas on how to solve this issue?