Hi,
I'm having troubles updating skeletal bones with world coordinate matrix... 
How works computeWorldToLocalMatrix? Now I am applying the matrix directly, but 
does not work correctly...

Code:

osg::Matrix mat;
mat.set(boneMatrices[i]->getMatrix());
pBoneUpdate.at(i)->getStackedTransforms().push_back(new 
osgAnimation::StackedQuaternionElement("rotate",mat.getRotate()));



Any help please?

Thank you!

Cheers,
Aitor

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37630#37630





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to