Skip to content

makeParticleSystem

makeParticleSystem<TCtx>(options?): SchedulableSystem<TCtx>

Defined in: src/modules/particles/particles.ts:241

Advance over-lifetime particle animation each tick: applies gravity and damping to velocity, and writes OpacityDef / ScaleDef / RotationDef from each particle’s fraction(LifetimeDef). Schedule it after the lifetime system has had a chance to run, but it reads the lifetime fraction directly so ordering only affects a one-tick lag.

TCtx extends ParticleTickCtx

ParticleSystemOptions = {}

SchedulableSystem<TCtx>