hey peoples i have a questions. i am trying to find a way to check the position of my mouse relative to the center of my main character to make him rotate. is there any way to do this?
Develop games in your browser. Powerful, performant & highly capable.
You want your character to always point towards the mouse, right? Something like Set Angle to angle(character.X, character.Y, mouse.X, mouse.Y) should work.