.. _sec-zCloth: zCloth ------ This node specifies cloth-specific attributes. +----------------------------+------------------------------------------------------------------------------------------------------+ | Attribute | Meaning | | | | +============================+======================================================================================================+ | **enable** | When disabled, removes this cloth and affiliated attachments from the solve. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **materialType** | The cloth uses a proprietary Ziva cloth model. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **bendRestAngle** | Controls whether the neutral angle for the bending is the angle in the input mesh, | | | or the zero angle. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **restScaleEnvelope** | Modulates the effect of zMaterial.restScale. | | | When envelope is zero, restScale has no effect. | | | When restScaleEnvelope is negative, the effect inverts - | | | causing objects to grow instead of shrink, or vice versa. | | | This attribute is keyable, unlike zMaterial.restScale. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **pressureEnvelope** | Multiplies the pressure force from zMaterial.pressure. | | | This attribute is keyable, unlike zMaterial.pressure. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **surfaceTensionEnvelope** | Multiplies the surface tension force from zMaterial.surfaceTension. | | | This attribute is keyable, unlike zMaterial.surfaceTension. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **inertialDamping** | Inertial damping is a non-physical effect useful to enhance stability or handle non-physical inputs. | | | It prevents issues from 'feeling' inertia due to large-scale motions. | | | Small-scale deformations still have all of their inertia, | | | so elastic waves travel through objects normally. | | | Using this, cloth can be subjected to extreme acceleration without tearing themselves apart. | | | This is very different from the mass and stiffness damping available on the zSolver node. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **collisions** | Enables collision detection and response with this cloth. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **selfCollisions** | Cloth does not support self collisions, this attribute is ignored. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **collisionSets** | Only objects that have a shared collision set will collide with this cloth. | | | Collision sets are denoted by integers, | | | with all collidable objects initialized inside collision set 0. | | | An empty collision set is equivalent to turning collisions off. | | | Objects may belong to multiple collision sets. | | | Add multiple collision set integers by separating each integer with a space. | | | E.g. To place an object inside collision sets 1, 4 and 5, use "1 4 5". | +----------------------------+------------------------------------------------------------------------------------------------------+ | **contactStiffness** | The stiffness of "contact" springs. | | | It controls the "hardness" of the contact between the two objects. | | | Lower values may cause intersections to occur during contact, but will be more stable. | | | Higher values will cause little or no intersection, | | | but may require more solver substeps to be stable. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **contactStiffnessExp** | The power to which the value of the **"contactStiffness"** is raised. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **contactSliding** | When enabled, contacts are resolved with the freedom to slide tangentially. Both bodies | | | in contact need to have **contactSliding** enabled for this to take effect. | +----------------------------+------------------------------------------------------------------------------------------------------+ | **fields** | Maya fields that affect this cloth (for external forces). | +----------------------------+------------------------------------------------------------------------------------------------------+ Same comments on the interaction among multiple bodies apply as with the zTissue node.