Axis of coordinates in skeleton streaming
Posted: Mon Sep 01, 2014 9:30 am
Hi,
I am trying to map the bone rotations of the Optitrack skeleton on a virtual character. For the virtual character, each joint has a dedicated local coordinate system with the y-Axis pointing always towards one of the children inside the skeleton hierarchy. X and z are orthogonal to y.
For being able to do the mapping between the Optitrack bones and the character joints, I need to know the orientation of the coordinate systems indicating the Optitrack local bone orientations. Does the the quaternion which I get from the NatNet Api describe a global rotation of a given bone around it's joint (the start point of the bone)? Are the axis determining the rotation identical with the global Optitrack coordinate system?
Unfortunately, I cannot find any detailed information concerning the skeleton data inside the API.
Any help would be appreciated!
I am trying to map the bone rotations of the Optitrack skeleton on a virtual character. For the virtual character, each joint has a dedicated local coordinate system with the y-Axis pointing always towards one of the children inside the skeleton hierarchy. X and z are orthogonal to y.
For being able to do the mapping between the Optitrack bones and the character joints, I need to know the orientation of the coordinate systems indicating the Optitrack local bone orientations. Does the the quaternion which I get from the NatNet Api describe a global rotation of a given bone around it's joint (the start point of the bone)? Are the axis determining the rotation identical with the global Optitrack coordinate system?
Unfortunately, I cannot find any detailed information concerning the skeleton data inside the API.
Any help would be appreciated!