(legacy) Changing color only of new particles

Is there a way to change the color only of newly emitted particles for a legacy particle system? I’m retrieving the particle animator and changing its colors (the array of 5 colors) but that also affects existing particles.

1 Answer

1

No. The lifetime of the particle provides a lookup into the ParticleAnimator.colorAnimation array. The vertex colors of the particles are set to whatever interpolated color results along the timeline.

You could create a new system, and use ParticleAnimator.autodestruct = true on the old one.

Yeah, that's what I ended up doing. Also stopped emitting (.emit = false) on the old one.