Usage of ``ParticleSystem.emit``
marwie opened this issue · comments
Marcel Wiessler commented
Hello,
I have a case where I have a one-shot effect with a duration of 1 and not looping. I still want to be able to call emit
on this effect and have the system emit the provided amount of particles that frame. Currently the internal emitEnded
flag prevents that.
What would you suggest on how to make this still work and force it to emit particles?
Here's a short video where I set emitEnded
to false before calling emit
in a 1 sec interval
20221111-124820_Made_with_Needle_-_Google_Chrome.mp4
Forrest Sun commented
Thanks for asking. Will look into this
Forrest Sun commented
I removed emitEnded check before spawn method
Forrest Sun commented
Fixed in commit 89eee18