Stop particles emitters
Posted: Tue Dec 23, 2008 10:19 pm
Hi folks,
I am using Ogre for some time and now I am starting to use the particle systems. On my game here, I attached a particle system to some platforms to simulate fire, but I want to disable it.
The way that I have found was to remove the objectparticle system from the scene node. This works, but the particles simple disappears.
I did a change on Ogre to include a mEmitting boolean variable that I can use to control if the particle system should emit or not the particles. This is cool because this lets the particles disappears during their normal life time.
I am thinking about sending a patch with this change, but I would like to know what the community think about this.
I am using Ogre for some time and now I am starting to use the particle systems. On my game here, I attached a particle system to some platforms to simulate fire, but I want to disable it.
The way that I have found was to remove the objectparticle system from the scene node. This works, but the particles simple disappears.
I did a change on Ogre to include a mEmitting boolean variable that I can use to control if the particle system should emit or not the particles. This is cool because this lets the particles disappears during their normal life time.
I am thinking about sending a patch with this change, but I would like to know what the community think about this.