Search Unity

Set Attribute over Life regradless of the lifetime

Discussion in 'Visual Effect Graph' started by yohai7700, Jun 3, 2022.

  1. yohai7700

    yohai7700

    Joined:
    Apr 17, 2020
    Posts:
    3
    Hi everyone!
    I want to make my effect increase its size over life, the thing is, as far as I understand the Set Size Over Life is relative to the lifetime. I want to make it so that it will increase its size after, let's say 0.1 seconds, regardless of the lifetime, is it possible to do so?

    Thanks
     
  2. JulienF_Unity

    JulienF_Unity

    Unity Technologies

    Joined:
    Dec 17, 2015
    Posts:
    326
    Hi, you can use the attribute age of particles for that, for instance to sample a curve that will set the size. Note that age can be used even with immortal particles (with no lifetime)
     
    yohai7700 likes this.