Page 1 of 1

Particle Systems

PostPosted: Sun Nov 13, 2011 10:31 am
by Christopher
I have two questions about these systems:
1. Is it possible to fade out the Particles at the end of their lifetime?
2. Is it possible to change the texture of the aprticles during their lifetime?

I hope you can help me.

EDIT: I have a third question: Can I disable the particlesystem, without the already dropped particles are disappearing?

Christopher

Re: Particle Systems

PostPosted: Sat Nov 26, 2011 12:23 pm
by TheMagician
I should REALLY finish this video tutorial on particles that I have sitting on my computer.
Both color and transparency of particles can be animated over time. You just have to activate automatic keyframes (just as you would for normal animation), scrub the timeline slider to the desired frame and change the paramter(s) (e.g. color) to the new values. A red box should appear around the parameter to indicate that it is animated. When you've finished just turn off automatic keyframes again.
It's important to keep in mind that only the first 10 frames are used for particle material animation. So the material properties of the very first frame are used when a new particle is born. And the settings at the 10th frame are used when the particle dies. Whatever is in between those frames gets interpolated over the lifetime of the particle.

EDIT: And yes, you can also stop the emission of new particles without killing all active ones. To do that animate the "Birthrate (per sec)" value in the parameters of the ParticleSystem component that you've assigned to your emitter.
If you then want to trigger this animation (for example when the player klicks a button) assign an Animation component to the emitter and set up the animation using the Notes Track in TrackView (have a look at THIS tutorial if you don't know how to do that). When you now trigger the animation component it will stop the particle emission.
As an additional tip: if you want to activate the emitter again later on, have the animation component that you've just set up play backwards. This will turn the value of particles back up and the particle system is active again.

Re: Particle Systems

PostPosted: Mon Nov 28, 2011 3:16 am
by Christopher
Thanks, you helped me very much. The animation of the particles works very well.

Christopher

Re: Particle Systems

PostPosted: Wed Nov 30, 2011 2:38 pm
by Christopher
I want to share the result with you. You helped me to let my dragon spit a fire:
Image

Re: Particle Systems

PostPosted: Thu Dec 01, 2011 3:07 am
by diafero
Cool :D

Re: Particle Systems

PostPosted: Thu Dec 01, 2011 10:27 am
by TheMagician
Wow, the dragon looks great! Is he ... or it ... used as an avatar?

Re: Particle Systems

PostPosted: Thu Dec 01, 2011 11:23 am
by Christopher
Yes, I ported it from Drangon Age: Origins and now I can use it as Avatar.

Re: Particle Systems

PostPosted: Thu Dec 01, 2011 12:21 pm
by Karkadann
How cool, does it have a name?

Re: Particle Systems

PostPosted: Thu Dec 01, 2011 2:08 pm
by Christopher
Yes, I named it Urglefloggah (like a demon from Pratchetts Discworld novels).

Christopher