Contents

init(shape:)

Creates a cloth collider component with the given shape.

Declaration

init(shape: ClothColliderShape)

Parameters

  • shape:

    Defines the shape of the collider.

See Also

Creating a cloth collider