Hi again!
I'm trying to make a particle, that when it hits an NPC, a trigger occurs. But when the particle is literally going right through it, nothing happens. I've tried setting it to detect player and that works, but if I set it to detect "set object" and then the particle, or "object with tag", nothing happens?
Maybe it just won't work on particles? The particle has the particle script itself, a box collider (tried with Is Trigger both checked and unchecked, and without the collider), and it has the constant ID
Like I said it works with a player so maybe I'm missing something on the particle?
Thanks!
Comments
A custom script could detect the collision and then run an ActionList by calling its Interact function.
I (somehow) managed to make it detect the collision via script, but I'm struggling for it to call an actionlist.
But inside your class you need a public ActionList that gets exposed in the Inspector, e.g:
public ActionList myActionList;
And then inside the OnParticleCollision function:
myActionList.Interact ();