SolidParticleSystem Stop/Start scenario

Hi

I love the functionality in ParticleSystems that I can stop or start them whenever I want. Particles spawned are still present until end of their life.

But is there something like that in SolidParticleSystems?

How could you implement something like that in for example this Playground:

I would like to stop spawn but keep the spawned particle to finish tier life cycle and not spawn new one until I allow it with some call back.

Regards
Peter

Something like that? - https://playground.babylonjs.com/#2BXZC#36

Hi @labris

Thanks for super quick reply :slight_smile:

Yes. This is a great example. But from the performance point of view, is this still not ticking every frame?|

So its constantly triggered and tested. Is there something to stop it and release the resources ?

And also implementation of it is a lot harder than ParticleSystem Start / Stop.

I wonder why they are not built similarly, but I’m searching for a good solution for now.

Can this be improved?

Regards
Peter

The simplest way is just to safely dispose SPS mesh - https://playground.babylonjs.com/#2BXZC#37