Particle Emitter fine control

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Lewis White

Hi,

I would like to know if I can use the particles2d node in the following way:

  • No particles emitted at runtime
  • Sending a signal to the particles2d emits 1 particle

Basically I want to just emit a particle every time it is called by some function instead of on a timer, with the particle being created on the same frame as it is called.

Trying to do this with turning on and off the ‘Emitting’ flag works, but there is an arbitrary wait time before the particle is actually emitted. Sometimes the particle never gets emitted by the time I need to turn off the emitter.

:bust_in_silhouette: Reply From: tomandrieu

Maybe using show() / hide() method on the particle2D will work but i don’t know the impact it can have on performance.

:bust_in_silhouette: Reply From: Kresy

Im looking at the solution too and found
$GPUParticles2D.emit_particle()
but i dont know how to use it
did you find a solution?