Activating OnTriggerEnter when changing the collider to trigger?

Hello,

I would like to know if it’s possible to trigger the OnTriggerEnter event when I change the collider to IsTrigger = true (or another solution).

My situation :

  1. I have a fireball that has a collider (and a rigidBody)
  2. It collide with another object
  3. It change itself to trigger and start to expand

The problem : some objects don’t trigger OnTriggerEnter (because they already have collided !)

If I set the fireball collider from trigger from the start, it doesn’t detect itself if it collide with something (or is there a way to do that?)

PS : ask if you need more details, I’ll try to complete my question

You’ll need to use OnTriggerStay in this case since OnTriggerEnter is only fired on the moment of entry and the objects are already inside the trigger area.