Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug? Emitter still emitting when speed set to zero, and Method set to Burst
#1
Is this behavior just part of the specifications?
Or is it a bug?

I created my own Emitter from code, and want to emit only when the user presses a button. I think the docs said that you can set the speed to 0 to turn off the emitter's emission. But when speed is zero, and the EmissionMethod is set to Burst, it shoots particles anyway.

For now, when the user presses a button, instead of changing speed, I change the EmissionMethod to from Stream to Burst, then turn it back to Stream with 0 speed.
Reply