I'm trying to rotate a sprite towards mouse position, but I just fail at figuring out the proper way to to calculate the angle. The ship is always facing wrong direction. I'm trying to rotate a sprite towards mouse pos
I'm trying to rotate a sprite towards mouse position, but I just fail at figuring out the proper way to to calculate the angle. The ship is always facing wrong direction. I'm trying to rotate a sprite towards mouse pos