PDA

View Full Version : removing a rogue particle?


anthonymcgrath
02-07-2003, 01:12 PM
I have a particle setup going and it all seems to be moving nicely except I have a few particles going astray. Is there any way to remove these particles or hide them using some expression or other method?

thanx

ant
newcastle
uk

svenip
02-07-2003, 01:18 PM
in expressions you can set values for each individual particles via their id's.

if(yourparticles.id == 80)
..........


don't have maya here to test right now (because all machines are rendering) but if i remember right this is the way.

anthonymcgrath
02-07-2003, 01:20 PM
thanks for fast reply dude. Will try it now! whats your machines on with rendering then?

svenip
02-07-2003, 01:26 PM
showreels showreels showreels showreels

for the company

alexx
02-07-2003, 02:05 PM
the

if (particle.particleId == 80)

tends to slow down the execution a lot.

a solution to really delete your particles is give them lifespanPP, then select the particles you dont like.
go to component editor and give them a lifespanPP of 0.
now advance one frame and they should be gone.
to get really rid of them, dont forget to save initial state.

cheers

alexx

emm. of course that only works, when you dont emit them :)

anthonymcgrath
02-07-2003, 02:28 PM
aah! the ol' lifespanPP trick. didn't think o that one! I'll give that a shot.


the reason I ask is that I'm using the 'brainbugz' plugin to create some flocking motion but I'm getting the odd rogue particle so I want it to naff off!!

:)

CGTalk Moderation
01-14-2006, 09:00 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.