Immobile Collider Trigger

Hi,

I have one monster(collider/rigidbody) , he is Immobile (doesn’t move), my trigger appear (a big wall of fire) and the monster is inside this wall.

some monster take damage, other monster not:

  • If the monster “move” he is always saw by the trigger.
  • if he is immobile, sometime the trigger doesn’t see him.

Have you tried using OnCollisionStay?

Yes, that work with OnCollisionStay, but that is too expensive for mobile game.

I have a look at : Unity - Manual: Box collider component reference
There is a “Collision action matrix”, I try to had a rigidbody to my wall (gravity off and is kinematic on), that work at this time, I will see if the bug happen again.