I want to create top down game where you are Russian soldier in libGDX. The player controls the soldier with W/A/S/D and aims with the mouse. That way the soldier can run sideways and shoot towards enemy.
What is best way to make his legs walk into the right direction but aim the weapon towards the mouse pointer?
My idea is to make two sprites, for both torso/weapon and legs and let them lay over each other but I don't know if that is best way to do it.