If your two colliders don't match in the matrix you will not get collision messages.
If you're trying to receive events that don't match, consider using a trigger event instead, note that they have a different method signature.
| Static | Rigidbody | Kinematic Rigidbody | Static Trigger | Rigidbody Trigger | Kinematic Rigidbody Trigger | |
|---|---|---|---|---|---|---|
| Static | ||||||
| Rigidbody | ||||||
| Kinematic Rigidbody | ||||||
| Static Trigger | ||||||
| Rigidbody Trigger | ||||||
| Kinematic Rigidbody Trigger |
If you are using a Character Controller you may be looking for the OnControllerColliderHit message
Your two colliders are described by an element in a row and in a column, the intersection of these two shows whether this type of event will be fired.
If the event is not green, consider changing your setup, or switching event type.
A Collider is required on both objects, and at least one object needs a Rigidbody. Their settings are described below:
| Type | Rigidbody | Collider |
|---|---|---|
| Static | None. | Is Trigger is off. |
| Rigidbody | Is Kinematic is off. | Is Trigger is off. |
| Kinematic Rigidbody | Is Kinematic is on. | Is Trigger is off. |
| Static Trigger | None. | Is Trigger is on. |
| Rigidbody Trigger | Is Kinematic is off. | Is Trigger is on. |
| Kinematic Rigidbody Trigger | Is Kinematic is on. | Is Trigger is on. |