Godot Version
4.4.1
Question
My problem is:
In editor my CpuParticle2D node is already added as child node to scene and configured as one shot. When time comes i set emitting = true
but, if user clicks a button too fast i want to destroy already emitted particles without destroying node(queue_free()
) itself. I tried setting visible=false
but then it pauses itself and continues to draw already previously started particles if set visible=true. I also tried emitting=false
which had no effect on one shot
particles. So shortly without freeing the node that is added in editor, i want to destroy already emitted particles.
Note: Tried also process_mode = always to make it not pause when visible is off but it didn’t help.