Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperLicht
Start and stop a ParticleSystemSceneNode

cosmo
Registered User
Quote
2014-04-25 10:39:29

Hi,

Is it possible to start and stop a ParticleSystemSceneNode emissions?

Thanks,
Mariusz


niko
Moderator
Quote
2014-04-25 15:13:11

You can set it to invisible, then it won't emitt anything anymore. Of course, it also won't be rendered anymore, so maybe that's not what you want.

But it's possible anyway: A simple way to do this would be to overwrite the function
CL3D.ParticleSystemSceneNode.emit(time, diff)
and only call the original function when you want particles to be emitted.


cosmo
Registered User
Quote
2014-04-25 19:11:00

Meantime I have done something like this:

MinParticlesPerSecond = MaxParticlesPerSecond = 0;

It looks like it works. Is it a good solution ?


niko
Moderator
Quote
2014-04-25 19:16:37

Ah, yes, also a good idea, probably better because easier :)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact