PDA

View Full Version : Emitter maximum emission



Anisotropic
12-07-2006, 06:14 PM
Is there an easy way to control the maximum number of particles emitted? I want a quick explosion and set my emitter to shoot 100 particles a second and would like to set the maximum emitted to 100 as well. I know I've read this somewhere but I'm working on a shot right now and it's escaping me..... :help

laxman
12-07-2006, 07:14 PM
If you click on the particle node it tells you how many particles there are in the node. So if you want 100 I exactly I think the only way is to write a runtime expression that controls the speed that says something like

If numParticles <= 100
speed = 1
else
speed =0

Now unless you need to instance the particles you could probably make do with anything more than 100 and less that 110, so if you just hit play and estimate how many particles have been created based on the speed then hit stop you should be able to get it pretty close to a 100.

Anisotropic
12-08-2006, 12:50 AM
Thanks...that was exactly what I was looking for!