Hi. I have one PAT node as child of another one. I've implemented retrieval of its position in world coordinates this way:
node->getPosition() * osg::computeLocalToWorld(node->getParentalNodePaths()[0]) This works fine. I've tried the same for rotation: node->getAttitude() * osg::computeLocalToWorld(node->getParentalNodePaths()[0]); But this doesn't even compile. Can anybody tell me how to get node rotation in world coordinates? Thanks.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org