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
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 internalemitEnded
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 callingemit
in a 1 sec intervalhttps://user-images.githubusercontent.com/5083203/201334382-d6aa8eda-bd2b-498e-be14-cdf749e300a4.mp4
the system is setup like this: