Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Fluid Particles interaction Script
#24
(23-11-2020, 04:32 PM)JoseCarlosĀ S Wrote: Yep, the correct emitter is asigned, no alerts on console, and still keeps spawning new particles...

I just realized that you were using Burst emission mode, which won't stop emitting even if speed is zero. I was testing with Stream mode instead.

Open ObiEmitter.cs, and change line 467 from this:

Code:
if (activeParticleCount == 0)

to this:

Code:
if (activeParticleCount == 0 && speed > 0)

That will make Burst emission stop when speed is set to zero.
Reply


Messages In This Thread
RE: Fluid Particles interaction Script - by josemendez - 23-11-2020, 05:09 PM