Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

[VfxGraph] How to set Attraction Force over lifetime

Discussion in 'Graphics Experimental Previews' started by alexandre-fiset, Oct 17, 2019.

  1. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    717
    I am trying to set the Attraction Force of the ConformToSphere component according to the normalized life/lifetime of the particle. Is that possible?

    Searching Life gives me two options, age over lifetime and get attribute lifetime, with both options not achieving what I want.
     
  2. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    717
    Nevermind I got it with the Age over lifetime (0.1) and passing that into the curve sampler.