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.
Creates a cloth collider component with the given mesh shape.
init(meshShape: ClothMeshShape)Defines the mesh shape of the collider.