spawn generates crazy amount of particles?
#3
(12-28-2020, 10:44 AM)tyFlow Wrote: Why wouldn't it generate exponentially? The Spawn operater affects all particles in the event by default, so yes...the children of spawned particles in the same event will generate spawned particles and so on, and thus the particle count will grow exponentially.

The easiest way to avoid exponential growth is to just send spawned particles out to another event using the output connector on the right hand side of the Spawn operator.

Alternatively you could enable some filtering in the Spawn operator to only spawn from certain particles based on criteria of your choosing.

Thanks for your quick reply. I thought the operator goes from top to bottom, so I naturally assumed that the spawn operator uses the particles generated by the operator above it, and it wouldn't take the particles of the whole event as the source. That's why I thought it was strange.

So, without sending the spawned particles out to another event, it will create an infinite loop within the current event, right? (except for "on entry")

I just tested your approach by sending the output to a new event, it works as intended now. Thank you so much.
  Reply


Messages In This Thread
RE: spawn generates crazy amount of particles? - by onyxlee - 12-28-2020, 11:18 AM

Forum Jump: