Hi,
im trying to making a gun flare for a sci fi tank game, currently I am playing around with a duplicate of “small flames” from standard assets.
I’m wondering how to get it to fade out, I’ve tried using particle animator but this doesnt work so i’m assume i’ll need to script it myself, its just a gun blast so i just want a big puff of smoke that starts with a hint of flame! All I have currently is small flames that fly out down the Z-axis, and im just using Destroy(gameObject, 2); on the prefab to remove it after 2 seconds, which looks rubbish. Can someone advise please, im useless with particle systems!
Cheers,
Have you set the transparency to 0 for the last color in the particle animation? Works quite well here…
I can post a screenshot of my settings, if you want…
Yeah last setting is on 0 alpha… maybe im just not noticing it. However, that wont really help as I want them all to fade out at once after a certain time. I would appreciate a look at your settings tho, thanks!
I suggest playing with the min and max lifetimes and color animation curves more. Particle effects can be hard to understand but once you do you will have complete control and be alot happier. Making a good particle effect takes time and careful tweaking.
lifetime is… what parameter exactly?
It is really badly named. Min Energy and Max Energy in the particle emitter component.
So here is the promised Screenshot. As you can see, the particles perfectly vanish and unite with the distant fog, just by animating colors and transparency. I hope this helps.
Cya
Frank