Skip to content

Particle emission methods

jdeon edited this page Apr 19, 2026 · 1 revision

The emission methods are used to interpret the input and manage the particles during their lifetime. The method returns its id.

Generate Emission

Spray particles

The spray particles are emitted from a source and move with a velocity in a direction defined by an angle.

Spray animation

Graviting particles

The graviting particles turn around the source with a velocity at a distance defined by a radius.

Gravitate animation

Missile particles

The missile method emits a spray particles that are used to emit sub particles.

Missile animation

Manage Emission

Stop all emissions

To stop all emissions in the scene and reset the particle emitters ids index.

Stop a specific emission

To stop a specific emission, you need to use a macro to call the method particlesFx.stopEmissionById with an id parameter :

  • id of the emission (returned by the method)
  • 'l' or 'last' for newest emission
  • 'f' or 'first' for oldest emission

And a boolean parameter, true for instant delete of particles already emitted, false to stop only the emission (living particles are not killed).

Clone this wiki locally