Skip to end of metadata
Go to start of metadata

Overview

This category controls the number and duration of new particles that are added to the component. Spawn logic is always updated for each emitter that is created in the game. When a component is a child of a SecondGen component (for parent child relationships, see SecondGen), spawn logic will instead update each parent particle that meets the trigger condition. When a parent particle dies, Spawn features will automatically stop adding new particles for that parent.

Similar to most other features, Spawn features can also be combined together to achieve more sophisticated spawning effects.

The following options are available under the Spawn category:

Count

This feature spawns a specific number of particles in a single burst.

PropertiesDescription
AmountSpecifies the number of particles to be spawned. Can be used with Modifiers for more dynamic control of particle spawning.
DelayAllows you to specify a delay (in seconds) at which a feature is allowed to start spawning particles (Optional).
DurationIf enabled, specifies the time duration for spawning the particles. If set to 0, all Count number of particles will be spawned in a single frame. If disabled, continuously spawns new particles while trying to keep the number of particles per instance as specified by Count.
RestartIf enabled, the entire feature will be restarted every time the specified amount of time is reached. Useful to create continuous particle bursts.

Density

This feature spawns particles to achieve the given spatial density and is based on the spawn length, area or volume (usually specified in the Location feature).

Icon

Note: At least one particle is always spawned for each dimension.

PropertiesDescription
AmountDepends on the dimensions and spawns for the specified number of particles for each meter, square meter or cubic meter (m, m2 or m3). For example, if a component contains a location box with the dimensions of width 4m, length 1m and height 0.5m (volume = 2m3), and the number of particles is set to 20, then the total number of particles that will be spawned will be 40 (2m3 x 20).
DelayAllows you to specify a delay, in seconds, at which the feature is allowed to start spawning particles (Optional).
DurationSpecifies the time duration for spawning particles. If no time is specified, spawns all particles at once in a single frame.

Distance

This feature allows spawning new particles at a specific rate based on the emitter's or parent particle's motion distance. Commonly used on trails to distribute new particles uniformly regardless of actual parent velocity.

Icon

In cases where a parent particle can stop moving (for example due to drag) and new particles should still be spawned, then it is recommended to pair this feature with Rate. Rate will always guarantee that new particles are spawned, while the Distance feature will adapt to the motion of the parent.

Icon

Since the spawn rate of this feature depends on external conditions (the motion of the emitter which is usually driven by game play), special care must be taken to avoid creating an excessive number of particles.

PropertiesDescription
AmountSpecifies the number (Amount) of particles to spawn. Can be used with Modifiers for a more dynamic control of particle spawning.
DelayAllows you to specify a delay, in seconds, at which a feature is allowed to start spawning particles (Optional).
DurationSpecifies the time duration for spawning particles. If no time is specified, then spawns all particles at once and in a single frame.
ModeSpecifies the meaning in Amount:
  • Particles per Meter: Amount refers to the number of particles to be spawned for each meter traveled by the parent particles or emitter.
  • Meters per Particle: Amount refers to the distance that needs to be traveled by the parent particle or emitter for a single new particle to be spawned.

Rate

This feature spawns new particles at a specified rate based on time.

PropertiesDescription
AmountSpecifies the spawn rate of new particles. Can be used with Modifiers for more dynamic control of particle spawning.
DelayAllows you to specify a delay, in seconds, at which the feature is allowed to start spawning particles (Optional).
DurationIf used, only spawn particles for this amount of time. If not used, this feature is continuous and only stops when the emitter of parent particle also stops.
ModeSpecifies the meaning in Amount:
  • Particles per Second: Amount refers to the number of particles to be spawned every second.
  • Seconds per Particle: Amount refers to the waiting time in seconds until next particle is spawned.
  • Particles per Frame: Amount refers to the number of particles to be spawned every frame.

GPU Support

Only Spawn and Rate are currently supported for spawning GPU particles.

  • No labels