Question : Top view (2D) Battleship following the mouse cursor (with bearing and limited turning speed)

Ok, this is a difficult one (at least for me).

[Preferably with C# and GDI+ / managed DX]

Imagine that I have an image of a top view battleship. I need a battleship (picture) to follow the mouse around the screen at a given speed and limited turn rate (turning at its own center of course).

How to do this I have no idea as my math skills are poor, specially at trigonometry
Thank you very much for any assistance!

Pseudocode:



1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
public void RenderBattleship(ShipClass _ship)
{
         //Rotates the battleship based on maxturnRate and saves its current bearing to its class;
         [DO THE MATH MAGIC]
         (_ship._currentbearing = _newBearing)

         //Move the battleship based on its current bearing and speed
         [DO THE MATH MAGIC]
         (_ship._currentXpos)
         (_ship._currentYpos)
         (_ship._currentbearing) 
         (_ship._currentSpeed)

         (_ship._currentXpos = _newPosX)
         (_ship._currentYpos = _newPosY)

         (Renders the rotated picture)
}

Answer : Top view (2D) Battleship following the mouse cursor (with bearing and limited turning speed)

try use "start":

start msiexec /i  setup.msi /qn
Random Solutions  
 
programming4us programming4us