I’m facing an issue with using tweens when trying to rotate an object smoothly towards the cursor (since I didn’t like the original rotation condition), however I’ve encountered a problem. The rotation works perfectly until the object needs to cross the 180° threshold. In this scenario, instead of taking the shortest path, it rotates from 180° counterclockwise to -180°. If anyone knows a solution for this please let me know, it would be greatly appreciated.
Sorry if that’s confusing, I can explain more if needed.
So basically i am checking for 2 possible scenarios and if at least ONE of them is true i for example change my characters animation to be horizontally flipped (making it face left) and change head animation to face straight instead of diagonal up or down
If you wanna see how it works
Move cursor around player and look how head animation change depending on angle of cursor to player
Forgive me if I am misunderstanding but it seems like you aren’t quite understanding the question. My issue is with raw rotation tweens instead of animations.