away3d-particles-system icon indicating copy to clipboard operation
away3d-particles-system copied to clipboard

Pause the particle generation

Open David-Luis opened this issue 13 years ago • 4 comments

Hi liaocheng,

I want to know if it would be possible to pause the generation of particles, but not stop the update of the particles that are already generated. For example, when I stop the particles in the smoke example, it freezes, and if I use removeChild, the effect is strange.

Thanks!

David-Luis avatar Dec 10 '11 12:12 David-Luis

Hi, It's the same with the TransformFollowAction which implenet the freezes effect. Freezes effect change the position of particle on the fly,but the effect what you want need to change the visible attribute of the particle on the fly.Now there is no this action,you can do it yourself.

liaocheng avatar Dec 10 '11 12:12 liaocheng

Hi, If you don't want to implement a new action,you can just set the followTarget to a object that out of the view (very far that not in your view). Cheers!

liaocheng avatar Dec 10 '11 13:12 liaocheng

That is a very good idea, thank you!!

David-Luis avatar Dec 10 '11 13:12 David-Luis

Hi, is there any new method to do this since this method will reduce overall performance since particles are using resources even if they are not visible in the view.

nidin avatar Dec 26 '12 08:12 nidin