ben.toogood
Jan. 16, 2003 16:09:33
'evening
im looking to emmit particles (sourcePOP), but only til the total number of particles reaches a limit. then wait til some particles die to birth some more.
i've tried impulse and/or const activations with expression
npoints(“/part/popnet1/interact”)<=100
<- this is my limit
but my source keeps birthing
anyone know or have ideas?
ta
ben
J. Price
Jan. 16, 2003 17:20:26
This might be simplifying too much but what about
Impulse Activation = 1
Impulse Birth Rate = 100 - $NPART
Const. Activation = 0
J. Price
J. Price
Jan. 16, 2003 17:48:57
If you want to use a constant birth rate instead of impulse you could do
Impulse Act. = 0
Const. Act = 1
Const. Birth Rate = (100-$NPART)*($FPS)
If you want to vary the amount of particles so its not always 100 you could set Const. Birth Rate to (100-$NPART)*($FPS)*rand($F), which will generate different amounts of particles each frame, but it will keep your total particles from going above 100.
J. Price
ben.toogood
Jan. 17, 2003 06:08:36
ta