ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator Start and stop a ParticleSystemSceneNode
person icon
cosmo
Registered User
Quote
2014-04-25 10:39:29

Hi,

Is it possible to start and stop a ParticleSystemSceneNode emissions?

Thanks,
Mariusz

person icon
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.

person icon
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 ?

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

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


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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