Hi

If you use osgParticle for this, both particles and emitter have lifetime in 
seconds, which is configurable through their interface. For emitter you should 
also call emitter->setEndless(false); as it is endless by default iirc

Cheers,
Sergey.

16.02.2012, 18:36, "Tolga Yilmaz" <[email protected]>:
> Hi,
> I'm creating an explosion effect with it is fire and smoke trail it is ok but 
> i want to set a duration that determines how many seconds/miliseconds this 
> effect will be shown. Does fire smoke and explosion effect classes have such 
> control or how we can achieve this implementation?
>
> Thank you!
>
> Cheers,
> Tolga
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=45509#45509
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to