You can create a Slide on Surface constraint to attach hair curve CVs to a target surface, such as an nCloth or a passive collision object surface, and allow the constrained curve 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 constrain hair curves to a Nucleus object so that the objects attract each other without colliding.
To create an nHair Slide on Surface constraint
The target surface can be an nCloth or passive object, or a non-Nucleus polygon mesh.
If you selected a target surface that is a nCloth or passive collision object, the surface will be made a passive object when the constraint is created.
The nHair curves components you selected are now constrained to the selected target surface, and they are now connected to the nHair system'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: