8,452
edits
Paradox-01 (talk | contribs) (moving scripting content peu a peu) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 147: | Line 147: | ||
' INFO : 0 | ' INFO : 0 | ||
' INFO : 0 | ' INFO : 0 | ||
' to oni calculate quaternion from euler use this setup: | |||
' LogMessage qRotation.X | |||
' LogMessage qRotation.Y | |||
' LogMessage qRotation.Z | |||
' LogMessage qRotation.W * -1 | |||
Line 166: | Line 172: | ||
' INFO : 0 | ' INFO : 0 | ||
' INFO : 0 | ' INFO : 0 | ||
' to calculate euler from oni quaternions use this setup: | |||
'qX = ... | |||
'qY = ... | |||
'qZ = ... | |||
'qW = ... * -1 | |||
'set qRotation = XSIMath.CreateQuaternion (qW, qX, qY, qZ) |
edits