How to get the colliders hit by particle system's trigger module

Basically I have a sphere that increases overtime, I want it to detect if it hits a certain object and send a message so that I could trigger an event.

First I tried using the Collision module, when I checked the Send Message box it worked fine, it triggers the event as expect, but the particle gets stuck on the object it hits…

So I thought I’d use the Trigger module, but the method doesn’t check for the colliders it hits only the ones in the list that you drag and drop in the editor.


In short I want it to detect collision without the collision itself so that I could trigger the event for each object it hits without affecting its velocity much like an OnTriggerEnter().

Should be working.

did you change your script from “OnCollisionEnter” to “OnTriggerEnter”?

Afaik the OnCollision and OnTrigger dont work on particle system, I tried it before searching cuz I thought they worked the same.

Im trying OnParticleTrigger but it doesnt get all the colliders it detects, only the ones in the editor

Ohhhh duh, sorry didn’t realize this was particle collision.

Can you populate that list dynamically at runtime? Maybe you could put a new trigger on the particle system game object, and as objects enter add it to the list of objects checked?