init(groups:mask:)
Creates a collision filter with the given groups and mask.
Declaration
init(groups: ClothCollisionGroupSet, mask: ClothCollisionGroupSet)Parameters
- groups:
The set of collision groups that the entity belongs to.
- mask:
The set of collision groups that the entity introduces one-way collisions towards.