HI RJ,

You'll need to find the subgraph you want to rotate use a NodeVisitor
such as the FindNamedNodeVisitor found in the osgplanets example, once
you've found the node you need to insert a PositionAttitudeTransform
or DOFTransform above the subgraph.

Robert.

On 2/20/07, RJ <[EMAIL PROTECTED]> wrote:
Hi folks,

I am loading a plane from a file .ac format. and dynamic casting the
node returned by "osgDB::readNodeFile "  to osg::Group. I am doing this
because i want handle to the propeller of the plane using "visitor
pattern". The propeller is also the type osg::Group and not
osgSim::DOFTransform.

I want to rotate the propller what should i do ?

best regards
Rahul Jain.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to