Kart Racing Pro Official Forum

Mods => Plugins => Topic started by: elude107 on July 15, 2011, 06:36:53 PM

Title: Rotation Matrix?
Post by: elude107 on July 15, 2011, 06:36:53 PM
Can we get some more information about the plugin's rotation matrix? (m_aafRot[3][3]). Is it 3x3 or 4x4? What do its values mean?
Thanks in advance.
Title: Re: Rotation Matrix?
Post by: PiBoSo on July 15, 2011, 08:57:13 PM

m_aafRot is a 3x3 rotation matrix.
m_aafRot[0][0], m_aafRot[1][0], m_aafRot[2][0] is the Right vector
m_aafRot[0][1], m_aafRot[1][1], m_aafRot[2][1] is the Up vector
m_aafRot[0][2], m_aafRot[1][2], m_aafRot[2][2] is the Forward vector