init(shape:)
Creates a cloth collider component with the given shape.
Declaration
init(shape: ClothColliderShape)Parameters
- shape:
Defines the shape of the collider.
Creates a cloth collider component with the given shape.
init(shape: ClothColliderShape)Defines the shape of the collider.