I'm trying to get my actor to play animation when the player holds down a key. If the player lets go of the key I want the animation to stop at the current frame, and if the key is pressed again I want the animation to start where it left off. I also want the actor's head to rotate freely.
Here is an example of how exactly I want my actor to move and rotate.
If you need help with graphics feel free to contact me.
Thanks in advance