Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question How to create particles triggered by multiple projectiles with individual direction in VFX Graph

Discussion in 'Visual Effect Graph' started by j58242112306, May 15, 2024.

  1. j58242112306

    j58242112306

    Joined:
    Feb 17, 2024
    Posts:
    10
    Sorry, my English is not very good, and I'm still a beginner.

    I'm thinking of using trigger event and GPU event in VFX Graph, but I can't figure out the direction of particles generated by GPU event.

    Here's a halfway example:



    I still can't figure out how to do it. I want to create small water droplets emitted when several water balls move. They should primarily move backward behind their respective water balls and have some spread.

    I'm using Unity 2023.2.3f and VFX Graph 16.0.4.

    Cheers.
     

    Attached Files:

  2. minte131

    minte131

    Joined:
    May 11, 2019
    Posts:
    20
    1. At the Update Block, you should add a "Trigger Event Rate".
    2. Drag the output of that node to the new system (you'll create the water droplets here). This system is similar to how you create the Main System.
    3. Add Turbulence Noise at the Update Node on the new system.
    4. Tweak the parameters.
    I think it is similar to the firework effect, which you can find many tutorials for on YouTube.
    good luck
     
    j58242112306 likes this.
  3. j58242112306

    j58242112306

    Joined:
    Feb 17, 2024
    Posts:
    10
    WATER.png
    I was initially trying to figure out how to specifically create this effect, but in the end, I switched to using the particle system and achieved it with Cone shape in a SubEmitter.

    Thank you for your response anyway!!