How to use JointOrientations? RRS feed

  • Question

  • I am trying to detect a simple swipe based on position and orientation data.

    I am finding it quite difficult to deal with data returned by GetJointOrientations(),

    The structure contains JointType and Vec4, so is this Vec4 a quaternion? I am little familiar with how quaternions work, have worked with them in OpenGL; but i doubt this represents quaternion, this logic is simply weird, these are not unit-quaternions((w^2 + x^2 + y^2 + z^2) != 1, not even approx).

    Searching on MSDN is not of much help. It says very little about JointOrientation Structure, I only get the information that its direction of the joint relative to the parent joint .

    Is it something like:

    To move child bone to the position of parent bone, you need to move that bone by angle w, w.r.t. axis defined by values of x, y and z?

    Any pointers how swipe can be achieved using orientations only?



    Monday, August 4, 2014 10:59 AM

All replies