I have two Sprites, A ship and a Turret. The turret is a child of the ship. The turret rotates to mouse fine but when I move the ship using arrow keys the rotation gets all messed up, it gets a offset then it just completely goes off course.
var dx:Number = stage.mouseX – x;
var dy:Number = stage.mouseY – y;
Using stage coordinates based on local coordinates. Ship may be inside another movieclip that’s getting moved, or something of the ilk. Just use “mouseX” and “mouseY”.