Mod Tool: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 317: Line 317:
  oRotation.GetQuaternion( oQuaternion )  
  oRotation.GetQuaternion( oQuaternion )  
  Application.LogMessage "Quaternion rotation is " _
  Application.LogMessage "Quaternion rotation is " _
& oQuaternion.W & "," _
  & oQuaternion.X & "," _
  & oQuaternion.X & "," _
  & oQuaternion.Y & "," _
  & oQuaternion.Y & "," _
  & oQuaternion.Z
  & oQuaternion.Z & "," _
& oQuaternion.W


After a few experiments onisplit v0.9.54.0 seems to output XYZ-W instead of WXYZ.
After a few experiments onisplit v0.9.54.0 seems to output XYZ-W instead of XYZW.


Example:
Example:
Line 328: Line 328:
  X Y Z
  X Y Z
  Rotation in Mod Tool 40 0 0
  Rotation in Mod Tool 40 0 0
  ------------------------------------------------------
  --------------------------------------------------------------
W X Y Z
X Y Z W
  Q.Rotation in Mod Tool 0,939 0,342 0 0
  Q.Rotation in Mod Tool 0,342 0 0 0,939
  ------------------------------------------------------
  --------------------------------------------------------------
X Y Z -W
X Y Z -W
  Q.Rotation onispl. v54 0,334 0 0 -0,94
  Q.Rotation onispl. v54 0,334 0 0 -0,94


Also, OBAN flag "ZAxisUp" needs some more investigation.
Also, OBAN flag "ZAxisUp" needs some more investigation.
8,452

edits