<div dir="ltr"><div>Hi Jannik,</div><div><br></div><div>I am doing this for the default particle template, not using operators on single particles. But yes, I found that call too. For this I have to rethink my code how to use this per particle fired. Learning osgParticle now</div><div><br></div><div>Thanks anyway</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 2, 2017 at 10:17 PM, Jannik Heller <span dir="ltr"><<a href="mailto:scrawl@baseoftrash.de" target="_blank">scrawl@baseoftrash.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nick,<br>
<br>
I think what you're looking for would be Particle::kill():<br>
<br>
<br>
Code:<br>
<br>
        /** Kill the particle on next update<br>
            NOTE: after calling this function, the isAlive() method will still<br>
            return true until the particle is updated again.<br>
        */<br>
inline void kill();<br>
<br>
<br>
<br>
<br>
Does this not work?<br>
<br>
Cheers,<br>
Jannik[/code]<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=72088#72088" target="_blank" rel="noreferrer">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=72088#<wbr>72088</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank" rel="noreferrer">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>