Contents

disableCollisions(towards:)

Disables one-way collisions towards the selected groups.

Declaration

mutating func disableCollisions(towards groups: ClothCollisionGroupSet)

Parameters

  • groups:

    The collision groups to remove from the collider’s mask.

Discussion

This removes the selected groups from the collider’s mask, so that body particles in those groups will no longer be pushed away by this collider.

See Also

Managing collision response