If your two colliders don't match in the matrix you will not get collision messages (see 3D or 2D collision messages).
| Static | Rigidbody | Kinematic Rigidbody | Static Trigger | Rigidbody Trigger | Kinematic Rigidbody Trigger | |
|---|---|---|---|---|---|---|
| Static | ||||||
| Rigidbody | ||||||
| Kinematic Rigidbody | ||||||
| Static Trigger | ||||||
| Rigidbody Trigger | ||||||
| Kinematic Rigidbody Trigger |
If your two colliders don't match in the matrix you will not get trigger messages (see 3D or 2D trigger messages).
| Static | Rigidbody | Kinematic Rigidbody | Static Trigger | Rigidbody Trigger | Kinematic Rigidbody Trigger | |
|---|---|---|---|---|---|---|
| Static | ||||||
| Rigidbody | ||||||
| Kinematic Rigidbody | ||||||
| Static Trigger | ||||||
| Rigidbody Trigger | ||||||
| Kinematic Rigidbody Trigger |
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. |
You can read more about this and see a copy of these matrices in the Unity docs here. See troubleshooting physics messages for help with physics callbacks.