Thanks for your prompt reply. But after a bit more digging I found emitter->setLifeTime( dbl ) which is what I was after. Regards, Kim.
________________________________ From: [EMAIL PROTECTED] on behalf of Vincent Bourdier Sent: Tue 11/03/2008 12:08 To: OpenSceneGraph Users Subject: Re: [osg-users] Stopping a particle system after a set number ofparticles Hi, I think it doesn't exist yet... (perhaps I make a mistake writing this)... But counting time left before stoping the particlesystem is not very difficult... just make a time difference and switch off your particleSystem (or remove it) from the graph... Vincent. 2008/3/11, Kim C Bale <[EMAIL PROTECTED]>: Is there a function to stop an osgParticle system from releasing particles after a certain number or particles have been fired or perhaps a certain amount of time has passed without creating a custom class? Leafing through the doc referance I can't seem to find a method that has a similar function. Just wondering as I don't want to start coding one up if it's already there. Cheers, Kim. ***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
<<winmail.dat>>
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html *****************************************************************************************
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org