How to use collision filters in Unity Physics?

I am looking through the ECS samples trying to learn how to use collision filters, so I made a thread for potentially discussing how this functionality works.

The Collision Filters work the same as in Box2d Collision filtering - Box2D tutorials - iforce2d where BelongsTo == categoryBits and CollidesWith == maskBits. The groupIndex is available as well, though it isn’t currently exposed in the UI.

1 Like