Phaser API Documentation

  Version: 
update(particle, delta, step, t)

Description:

The Particle Processor update method should be overriden by your own method and handle the processing of the particles, typically modifying their velocityX/Y values based on the criteria of this processor.

Parameters:

name type description
particle Phaser.GameObjects.Particles.Particle

The Particle to update.

delta number

The delta time in ms.

step number

The delta value divided by 1000.

t number

The current normalized lifetime of the particle, between 0 (birth) and 1 (death).

Since: 3.60.0