Mod Tool/Scripting: Difference between revisions

m
no edit summary
(moving scripting content peu a peu)
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)
8,452

edits