Search Unity

Call OnTriggerEnter with a trigger particle?

Discussion in 'Physics' started by Thickovit, Oct 14, 2017.

  1. Thickovit

    Thickovit

    Joined:
    Jan 26, 2017
    Posts:
    1
    Hey guys, I've got a GameObject shooting out particles with the "Trigger" module enabled and only "Enter" set to "Callback". When the particles hit certain objects I want something to happen to those objects in script. This is easy with the "Collider" particle module as you can have a GameObject parameter on OnParticleCollision(), but that doesn't look right for my purposes. Is there a way to call OnTriggerEnter() on the object the particles are triggering? I may have fundamentally misunderstood how to use this module so, sorry about that but thanks for any help

    ps: obvs what I really want is for OnParticleTrigger(GameObject[]) to be a thing but looking for a work-around :)