I'm new is Godot and I' m trying to figure out how to set up walking animation for character in top down shooter.
I got per-frame animated legs and character body, character always looking on mouse position.
I want to rotate character legs in direction of player speed. Already tried to rotate them in this way, but looks like the problem is in player scene hierarchy(legs rotate with other body). How can I make legs rotation independent of body rotation?
Or maybe there is another solution for this?
I will be grateful for any help with this.
P.S yea, I don't know how to add images, so I loaded images on google drive