So I’ve found numerous tutorials on rotating to face the mouse, and none of the rotation equations work properly for me. I made my own that worked but then it just over complicated things such as bullet direction and the likes so I want to figure out what’s going wrong.
Code: var radians:Number =Math.atan2(mouseY-ME.y,mouseX-ME.x) var degrees:Number = (radians/Math.PI)*180; ME.rotation=degrees;
that is the only code that changes the rotation of my movieclip. and it always seems to be about 45 degrees behind my mouse?