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

All information about Magic Particles: news, question, comments, etc.

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

Postby sonictk » Mon Mar 01, 2010 8:23 am

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.
Last edited by sonictk on Fri Apr 09, 2010 6:57 am, edited 1 time in total.
sonictk
 
Posts: 28
Joined: Sun Feb 07, 2010 6:31 am

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

Postby Odin_KG » Tue Mar 02, 2010 10:00 am

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.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

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

Postby sonictk » Wed Mar 03, 2010 8:52 am

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.
sonictk
 
Posts: 28
Joined: Sun Feb 07, 2010 6:31 am

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

Postby Odin_KG » Wed Mar 03, 2010 9:01 am

Yes, you are right.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

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

Postby sonictk » Wed Mar 03, 2010 9:02 am

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!
sonictk
 
Posts: 28
Joined: Sun Feb 07, 2010 6:31 am

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

Postby Odin_KG » Wed Mar 03, 2010 9:37 am

Anyway I managed to get each particle to have a lifetime of about 100 minutes

It is well :-)

Thanks!

You are welcome!
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm


Return to Magic Particles

Who is online

Users browsing this forum: No registered users and 12 guests

cron