PDA

View Full Version : Particle Death event


prashanthb
07-25-2007, 10:40 AM
hello

i have been trying to apply shaders based on particles RGBpp value to the instanced geometry. I am doing this by creating a cube and then duplicating the cube and placing the cube at the exact position of the particle.i was successful to assign different shaders to indivudial duplicated cubes, now the problem is that if the particle dies i am not able to delete the geometry. can any one give me suggesions on how this can be done.

thanks

regards

prashanth

Wattana
07-25-2007, 11:44 AM
Hi!!

If the objects are instanced, they should dissapear when the particle dies. If you are placing the geometry using other method, yu must create a script run after dynamics based, and if the ageNormalized (% of total live for each particle) is 1, then make the geometry invisible (visibility = 0) or deleting it directly.

What system are you using to place the geometry on the particle position??

prashanthb
07-26-2007, 09:24 AM
thanks Wattana, its working :)

CGTalk Moderation
07-26-2007, 09:24 AM
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.