Thanks Don,
You seem to have an example for everything. Thanks! Your code looks like
something I'll probably try once I get past this annoying little coord
system setback I'm working through at the moment. (tracker, osg, developers,
desired physics system are all using different coordinate systems) Speaking
of, is there a global coordinate system matrix/call I can set for OSG that
would convert it from one coordinate system to the next? Previously, I just
inserted a master MatrixTransform that rotated the scene into the desired
coordinate system.
osg::Node::getWorldMatrices() is possibly what you are looking for. It'll give you a list of all the matrices that the node is positioned under, note, you'll get more than one when you have multiple parents somewhere along your parental paths. The matrices are an accumulation of the matrices along each parental path.
Robert.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
