phys.toolbox
This package holds more than this page lists. See all of its files in its world.
README.md
phys.setCollisionGroups
Set the collision group bitmasks on an entity's colliders. The two masks encode "what am I" (membership) and "what do I collide with" (filter) separately: two entities collide only when each one's filter contains a bit from the other's membership. Use it to sort entities into layers that selectively interact — for example a player that collides only with terrain. Returns the entity ID.