I am using a matrix (m) to hold all data, and my problem is I don’t know how to point the model in the correct direction. In this case, I have a missile, which has 6DOF, and it was fired from a ship that also has 6 DOF.
Is there a simple way to point the missile in the direction it is heading? At first I tried to use m,m,m, since that is dirX,dirY,dirZ, but that didn’t work all the time, that only works when the missile is fired down the Z axsis.
Any pointers to this?