I want to make an explosion effect by using particle effects (created in the particle pannel).
I can set up the effects to start running, but instead of just calling stop(), I want to do something like stopping the particle factory and letting the existing particles remain visible for a while before killing the effect itself. This is because simply stopping the effect is way too abrupt and thus ugly.
base.enableParticles() self.particle = ParticleEffect() self.particle.loadConfig("particle.ptf")
And then when the two specified objects collide:
self.particle.setScale(5) self.particle.start(render) self.particle.setPos(entry.getFromNodePath().getParent().getPos())
Thanks in advance.