🤔

Collision action matrix#

If your two colliders don't match in the matrix you will not get collision messages.

Static Rigidbody Kinematic Rigidbody Static Trigger Rigidbody Trigger Kinematic Rigidbody Trigger
Static
Rigidbody
Kinematic Rigidbody
Static Trigger
Rigidbody Trigger
Kinematic Rigidbody Trigger

Trigger action matrix#

If your two colliders don't match in the matrix you will not get trigger messages.

Static Rigidbody Kinematic Rigidbody Static Trigger Rigidbody Trigger Kinematic Rigidbody Trigger
Static
Rigidbody
Kinematic Rigidbody
Static Trigger
Rigidbody Trigger
Kinematic Rigidbody Trigger

Details#

Understanding this matrix:#

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.