You can create a Transform constraint to hold specific nCloth components in place or move them through XYZ space. For example, you can make a Transform constrained nCloth follow its animated passive object through its scene by parenting its Transform constraint locator to the passive object.
To create an nCloth Transform constraint
If you select edges or faces, then all their vertices will be Transform constrained.
The nCloth object or components you selected are now constrained to their current positions in XYZ space, and a Transform constraint locator is created for the selected nCloth object or components.
The nCloth object or components you selected are also now connected to the nCloth’s Maya Nucleus solver through a dynamicConstraint node.
The preset properties on the dynamicConstraint node determine the constraint’s type (in this case, a Transform constraint) and how it behaves. For example, you can create a Transform constraint with the following attribute settings:
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License