init(mesh:bias:)
Creates a mesh shape from the given mesh resource and inflation bias.
Declaration
init(mesh: ClothMeshResource, bias: Float)Parameters
- mesh:
The mesh resource that the shape is based on.
- bias:
The distance by which the vertices are extended outwards along their normals.