Hey everyone,
I have two problems with Particles Syste:
- The first problem is stop completely a Particle System. I’m using the reset and stop methods respectively. They work most of the time, but not all. In certain emission rates the system emits a single particle.
This is the code I am using:
ParticlesRestarter.prototype.onMouseDown = function(event)
{
if (event.button === pc.MOUSEBUTTON_LEFT)
{
this.entity.particlesystem.play();
}
if (event.button === pc.MOUSEBUTTON_RIGHT)
{
this.entity.particlesystem.reset();
this.entity.particlesystem.stop();
}
};
Here the project:
Project
- The second problem is a bug with a mobile device. Specifically Samsung Galaxy S10 not render the particles. We have different devices and it works in all except this one.