Hi Shayne,

If it is possible to isolate the particle system out of the cessnafire.osg
file, I would like to see a code snippet that does this...

Anytime you want to find a node in the scene graph, you probably need to should make a node visitor. Looks like ParticleEffect is a subclass of osg::Group, so you'll have to override the accept(osg::Group& group) method and try to dynamic_cast<osgParticle::ParticleEffect*>(&group) and then do what you want with it.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to