It's more or less working, but not perfect. My behavior is like this:
<img src="http://s18.postimage.org/58pr3fs09/Untitled_2.png" border="0" />
The character is on duck when I press down and he changes the animation if I do any other input, like walk or jump. The problem is he doesn't back to normal after released the down key.
I tried to use the idle animation if duck is false, but then the character is always on idle.
Do you know how can I "back to normal" if duck is false?
Thank you