Phaser API Documentation

computeVelocity(emitter, delta, step, processors)


An internal method that calculates the velocity of the Particle.


name type description
emitter Phaser.GameObjects.Particles.ParticleEmitter

The Emitter that is updating this Particle.

delta number

The delta time in ms.

step number

The delta value divided by 1000.

processors array

Particle processors (gravity wells).

Since: 3.0.0