I am a new user of Unigine Engine. now I get a task of doing a character animation using motion capture data.
the motion capture device is similar to the A.R.T system.
The data give me the position of bones of human body. I want to know how to apply this data to a objectmeshskinned model.
I got these mothods of class objectmeshskinned :
"void setBoneChildsTransform(int bone,const mat4 &transform) const;
void setFrameBoneTransform(int bone,const mat4 &transform) const;"
can change the shape of the model. but I do not know how to compute the right matrix ,especially the rotation matrix.