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

VFX Graph collision

Discussion in 'Graphics Experimental Previews' started by Gabrihellbarbosa, Jan 21, 2020.

  1. Gabrihellbarbosa

    Gabrihellbarbosa

    Joined:
    Jan 6, 2015
    Posts:
    5
    Is there any way to detect collision in the particles with VFX Graph? Some kind of event that triggers when the particle collides with an object? I saw that there is a form of manual collision, but I wanted to know if there is anything dynamic, to detect that the particles have collided with any object in the scene.
     
    Vahidfazaely likes this.
  2. Levrden

    Levrden

    Joined:
    Jan 26, 2016
    Posts:
    16
    Vahidfazaely likes this.
  3. Vahidfazaely

    Vahidfazaely

    Joined:
    Oct 13, 2019
    Posts:
    1
    same Issue here. not optimized at all.
     
  4. triangle4studios

    triangle4studios

    Joined:
    Jun 28, 2020
    Posts:
    33
    An alternative is just instantiating empty game objects to originate and terminate from your particle at an interval.
    Albeit not a great solution. But if you are making an energy weapon for example... That has a beam, and you want to detect particles. Just shoot a game object in the same direction as the particles every n seconds, and then perform your standard detection.

    There are other crude ways.
     
    ssojyeti2 likes this.