Search Unity

Trigger collision detection with particles?

Discussion in 'Scripting' started by cjddmut, Mar 5, 2014.

  1. cjddmut

    cjddmut

    Joined:
    Nov 19, 2012
    Posts:
    179
    I know you can detect particle collisions with non-trigger colliders in the OnParticleCollision method but this doesn't seem to work when the particle collides with colliders set up as triggers.

    So my question is if there's a way to detect when a particle has collided with any triggers?
     
  2. mgc90403

    mgc90403

    Joined:
    Dec 24, 2013
    Posts:
    20
    looking for a solution on this as well...
     
  3. DizzyTornado

    DizzyTornado

    Joined:
    Nov 17, 2013
    Posts:
    134
    Might wanna ask this on Unity Answers...
     
  4. cowtrix

    cowtrix

    Joined:
    Oct 23, 2012
    Posts:
    322
    You could iterate through the particle points and do containment tests on them?