Detected bug with triggers collisions 2D

For triggers to work, at least one object must have a rigidbody2D. But I have detected that if the object with rigidbody2D is not moving, the triggers don’t work.

A temporal solution for this is to add a rigidbody2D to all elements with triggers, so triggers always work. Even if all rigidbody2D are kinematic (the case I detected the bug). But I think this should be fixed to avoid confusion.

Triggers don’t have rules on what can trigger them; rigid-body types define this.

A collider is defined by the body it is attached to. If the Rigidbody2D is kinematic then the collider is. If the Rigidbody2D is non-kinematic (dynamic) then the collider is. If there’s no Rigidbody2D then the collider is static (meaning it should not be moved).

Static itself won’t contact anything. Dynamic can contact it however.
Dynamic will contact static, kinematic & dynamic.
Kinematic will contact dynamic.

Whether it’s a trigger or not is irrelevant. Whether the body type can contact is all you need to know.

If you have static colliders marked set as triggers then (using the list above), only dynamic colliders can come into contact with it no matter if it’s a trigger or not.

Manual: Colliders Overview

OK I understand. In that case it should be specified in documentation. As said it can be confusing. Thanks.

I gave you a link that describes which bodies collide with which and shows you triggers/non-triggers separately. Was there something else you wanted documented?