three-gpu-particle-system icon indicating copy to clipboard operation
three-gpu-particle-system copied to clipboard

Update emitter parameters on the fly?

Open samyH opened this issue 2 years ago • 0 comments

Hi,

I was wondering if there is a way to change the the emitter parameters?

I'm trying to TWEEN the startSize parameter in particular const num = {x: 11} var tween = new TWEEN.Tween(num) .to({x: 0}, 2000) .onUpdate(function () { emitter.setParameters({startSize:num}) }) .start(); Thanks in advance

samyH avatar Oct 11 '22 14:10 samyH