Im trying to build an autopilot or AI into my ships. To do this I need the ships to be able to calculate where they need to turn to and then do it. Ie they have to steer themselves so they are facing another ship. Currently I caluclate how far off I am (in radians) on the xz plane and then rotate by that amount on the y axis. Then I caluclate how far off I am on the xy plane and rotate about the z axis. (as I use the x axis as the front of my ship). This seems to work most of the time although occaisionally it doesnt quite work. But if I execute it a couple times in a row it always works. Just wondering if there is a better way to do this.