Search Unity

When is set direction used in vfx graph?

Discussion in 'Visual Effect Graph' started by pym4742, Feb 11, 2021.

  1. pym4742

    pym4742

    Joined:
    May 14, 2020
    Posts:
    12
    I'd like to change the direction of the particle's movement a little bit by bit.
    I use set angle at this time, but can i give this effect with set direction?
     
  2. Livealot

    Livealot

    Joined:
    Sep 2, 2013
    Posts:
    228
    Generally, you 'set' initial values in the Initialize Block, and you modify values over time in the Update Block.

    There are lots of ways to do what you're asking (Add/Multiply Position/Velocity/Force). I often just keep experimenting to find something that I like

    If you only use Set/Overwrite, you will constantly be setting the same value, which won't be a visible change over time