public void updateRotation() { rotationAngle = (float)Math.Atan2(Direction.Y, Direction.X); rotationAngle += MathHelper.Pi / 2; float circle = MathHelper.Pi * 2; rotationAngle = rotationAngle % circle; }