Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Trigger collision detection with particles?

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

  1. cjddmut

    cjddmut

    Joined:
    Nov 19, 2012
    Posts:
    177
    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:
    319
    You could iterate through the particle points and do containment tests on them?