JoeJ wrote:So did it work with any of the 2*6 possible combinations at this code?
If it does not, i suggest making a transposed copy of ent->m_curRotation and try again.
Hi,
No, it did not

This happens in this piece of code:
- Code: Select all
dVector rightWing = center + bodyMatrix.m_right.Scale(approxShipSize);
dVector nose = center + bodyMatrix.m_front.Scale(approxShipSize);
dVector up = center + bodyMatrix.m_up.Scale(approxShipSize);
If I accordingly adjust (shuffle around) the right, up and nose vectors, as such:
- Code: Select all
dVector rightWing = center + bodyMatrix.m_front.Scale(approxShipSize);
dVector nose = center + bodyMatrix.m_up.Scale(approxShipSize);
dVector up = center + bodyMatrix.m_right.Scale(approxShipSize);
...this gives me correct positioning. This leads me to believe that something else is off with Right to Left coordinate system adjustment. Bearing in mind that this needs to be done only for a visual renderer, where should I be making this adjustment?