We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80374dd commit a657856Copy full SHA for a657856
1 file changed
v3/src/gameobjects/particles/ParticleEmitter.js
@@ -639,6 +639,9 @@ var ParticleEmitter = new Class({
639
this.visible = this.follow.visible;
640
}
641
642
+ // Any particle processors?
643
+ var processors = this.manager.getProcessors();
644
+
645
var particles = this.alive;
646
var length = particles.length;
647
@@ -647,7 +650,7 @@ var ParticleEmitter = new Class({
650
var particle = particles[index];
648
651
649
652
// update returns `true` if the particle is now dead (lifeStep < 0)
- if (particle.update(delta, step))
653
+ if (particle.update(delta, step, processors))
654
{
655
// Moves the dead particle to the end of the particles array (ready for splicing out later)
656
var last = particles[length - 1];
0 commit comments