Particle Emitter: Setting min and max properties not working

Hey Everyone,
Experimenting with the particle system today when I noticed that the min and max properties aren’t working. Feel free to give the below code a test to see what I mean. Perhaps I am doing something wrong?

var emitter = particles.createEmitter({
    x: 300, y: 300,
    speed: {min: -150, max: 150},
    frequency: 1500,
    scale: {min: 0, max: 1}
});

Notice that the above code functions as though I set the scale to: {start: {min: 0, max: 1}, end: 1}.

Ouch, open for nearly a year. Thanks for the link Samme. I may try to resolve this on my own and create a merge request.

There’s a workaround in the linked pen, e.g.,

emitter.scaleX.onUpdate = emitter.scaleX.defaultUpdate;
1 Like