Contents

initialMeshDraping

An optional pose that specifies an already draped configuration of the cloth at the start of the simulation.

Declaration

var initialMeshDraping: ClothPoseResource? { get }

Discussion

This configuration is applied when the body is created or reset, providing the cloth with an initial settled state. In contrast, the rest pose defined by mesh represents the reference shape that the cloth attempts to preserve during deformation.

The number and ordering of positions in this pose resource must match those of the mesh.

See Also

Creating a cloth body