Search Unity

How to control the length of a fade-in fade-out particle system?

Discussion in 'General Graphics' started by bitinn, Jan 19, 2020.

  1. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    961
    Hi all,

    I am wondering how do one control the length of a particle system without making the rest of animation slower/faster.

    So imagine you have a particle effect with "Size over lifetime" module, where "Size" field is a bell-shape curve.

    Now if you increase the lifetime of the particle, you also make the fade-in fade-out longer due to the lifetime being longer.

    Is there a way to say: we want 1s fade-in, X seconds lifetime, then finally 1s fade-out?

    There must be a better way, please help!

    (Hopefully this is the right sub forum for particle system / VFX?)
     
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,285
    Maybe with an Animation clip to drive the relevant values, instead of particle curves?
     
    Last edited: Jan 19, 2020
  3. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    961
    It does look like the best solution is to have a static-size vfx and scale it using transform, what about "Color over lifetime"? What's a decent way to do fade-in fade-out (of specific time length)?