I have a cart on a track, I have the camera rotating fine along it but I'm having trouble rotating the cart. Is camera rotation different somehow?
So failing that, I'm trying to construct a matrix using the tangent, normal and binormal of the track, same thing happens.
I'm plugging them vectors into the matrix rows mat(binormal, normal, tangent) and multiplying that with a rotation of (-90, 90, 0) because of the way the model is exported.
Where am I going wrong? I just want to rotate the cart on the track.
And again I figure it out just after I post.. To fix I just transposed the matrix, is that the correct way to go about it?
Edited by laylay, 07 November 2012 - 07:00 AM.