[osg-users] osgParticle (particle life time)`

Jannik Heller scrawl at baseoftrash.de
Mon Oct 2 13:17:14 PDT 2017


Hi Nick,

I think what you're looking for would be Particle::kill():


Code:

        /** Kill the particle on next update
            NOTE: after calling this function, the isAlive() method will still
            return true until the particle is updated again.
        */
inline void kill();




Does this not work?

Cheers,
Jannik[/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72088#72088







More information about the osg-users mailing list