SHIP FOLLOW SIGHT

Surely you are looking through the cross hairs , therefore the camera is looking in the direction you want? Therefore rotste the gun towards the camera vector?

If the widget is moveable ie top down moves with mouse aim. Translate the coordinates of the widget by getting the world coords of the mous x and y and rotate to look at that point

1 Like