Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
R = {
{m00,m01,m02},
{m10,m11,m12},
{m20,m21,m22}
}
The first column gives the right facing vector of the craft, the second gives an upwards pointing vector, third is a forwards vector.
So say I had a vector in local space:
V = {
{3},
{2},
{1}
}
Therefore the vectors position in global space is given by:
Vg = R * V
The first row would be calculated like so:
Vg[1] = {3*m00+2*m01+1*m02}
Second would be:
Vg[2] = {3*m10+2*m11+1*m12}