You can create a Slide on Surface constraint to attach nCloth components (vertices, edges, or faces) to a target surface (another nCloth surface, or a passive collision object), and allow the constrained nCloth components to move or slip along the surface to which it is constrained. You can use a Slide on Surface constraint instead of collisions, and in most cases it works faster than collisions. For example, you can Slide on Surface constrain all the vertices in an nCloth shirt to a character model instead of making the character a passive object.
To create an nCloth Slide on Surface constraint
The Create Slide on Surface Constraint Options Box window appears.
The nCloth components you selected are now constrained to the target surface you selected, and they are 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 Slide on Surface constraint) and how it behaves. For example, you can create a Slide on Surface 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