How can I kill opaque particles? I want any particle that is 0% opacity to die.

I tried:

if(nParticleShape1.opacityPP==0)
{
nParticleShape1.lifespanPP = 0;
}

But it doesn't seem to work. Help is appreciated. Thanks!

TheRispo

10-13-2009, 04:07 PM

I just made some test and that expression seems to work fine with me.. just make sure that the lifespan mode is set to "lifespanPP only", and that the expression to kill the particles is evaluating in runtime... other than that I have no clue what might be causing that problem

graygiant

10-13-2009, 05:56 PM

Lol, sorry. LifespanPP only...works. Thanks for the info, much appreciated.

CGTalk Moderation

10-13-2009, 05:56 PM

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us on TheArtSociety.com