Skip to main content
Visitor II
April 7, 2022
Solved

Regarding the MotionFX Library. In what order is the quaternion given??

  • April 7, 2022
  • 2 replies
  • 1554 views

Hi, my name is Vincenzo,

I'm studying the MotionFX library and I want to understand In what order the quaternion is given by the MotionFX library.

Reading the manual, I know that the MotionFX can compute:

rotation, quaternions, gravity and linear acceleration data.

Regarding the quaternion, I don't understand how the elements are ordered. It is an array with 4 elements: qw,qx,qy,qz (q0,q1,q2,q3). I suppose that it is the order, but can someone confirm it?

Thank you in advance!

    This topic has been closed for replies.
    Best answer by Petr S

    Hi Vincenzo,

    In MotionFX library the q0, q1, q2, q3 is in qx, qy, qz, qw order.

    Best regards,

    Petr

    2 replies

    Petr SAnswer
    ST Employee
    April 7, 2022

    Hi Vincenzo,

    In MotionFX library the q0, q1, q2, q3 is in qx, qy, qz, qw order.

    Best regards,

    Petr

    VNava.1Author
    Visitor II
    April 7, 2022

    Thank you, Petr!