Contents

init(meshShape:)

Creates a cloth collider component with the given mesh shape.

Declaration

init(meshShape: ClothMeshShape)

Parameters

  • meshShape:

    Defines the mesh shape of the collider.

See Also

Creating a cloth collider