Page 1 of 1

[HGE] Possible to set infinite lifetime for particle? SOLVED

PostPosted: Mon Mar 01, 2010 8:23 am
by sonictk
Hi again.

Currently I am facing another issue. I am trying to get a certain effect where an object is hovering in the air. However, I want this effect to last forever. At the moment, I am limited to using the Life of Particle diagram to set a predefined lifetime for the particle. Is it possible to have the lifetime of a single particle last forever or at least longer than a few hours without changing the speed of the emitter? Either within the editor or through editing the wrapper for bringing it into HGE?

EDIT: Never mind, I realized that a much higher maximum value for the particle life could be set via the Diagram Settings dialog, and along with changing the life % factor in the emitter settings, managed to get a single particle to last for a much longer time than previously! :P You should really put this sort of thing in the documentation, it's quite easy to miss if you're not used to the editor.

Re: [HGE] Possible to set infinite lifetime for particle?

PostPosted: Tue Mar 02, 2010 10:00 am
by Odin_KG
Hi,

I realized that a much higher maximum value for the particle life could be set via the Diagram Settings dialog,

This dialog was deleted from version 1.72. Now this operation may be made more easily - you can edit minimal and maximal coordinates on some diagrams.

You should really put this sort of thing in the documentation, it's quite easy to miss if you're not used to the editor.

It is possible I wrote documentation not very detailed.

You can use function Magic_SetLoopMode, emitter was ended never.

Re: [HGE] Possible to set infinite lifetime for particle?

PostPosted: Wed Mar 03, 2010 8:52 am
by sonictk
You can use function Magic_SetLoopMode, emitter was ended never.

But wouldn't that only affect the emitter behaviour alone? Particles will still have a limited lifetime even though the emitter is continuing to emit particles.

Re: [HGE] Possible to set infinite lifetime for particle?

PostPosted: Wed Mar 03, 2010 9:01 am
by Odin_KG
Yes, you are right.

Re: [HGE] Possible to set infinite lifetime for particle?

PostPosted: Wed Mar 03, 2010 9:02 am
by sonictk
Oh well. =\ Anyway I managed to get each particle to have a lifetime of about 100 minutes, so that will have to do for now. :P Thanks!

Re: [HGE] Possible to set infinite lifetime for particle?

PostPosted: Wed Mar 03, 2010 9:37 am
by Odin_KG
Anyway I managed to get each particle to have a lifetime of about 100 minutes

It is well :-)

Thanks!

You are welcome!