I have a top down game where characters rotation follows the mouse cursor. This worked great until now when I’m trying to create turn in place animations for it. I’m not sure what the best way to find where the character was looking then compare it to where there currently looking and then play the animation. Does anyone know the best way to go about doing this? Below is the code for how i get the character to rotate towards the mouse cursor.
Did you find a solution for that?
And also, if it’s possible, can you share or explain how you mix your movement and turning animation to cursor? Thanks