Create an nHair Point to Surface constraint

 
 
 

You can create a Point to Surface constraint to attach hair curve CVs to a target surface such as a deforming nCloth surface, or a passive collision object. For example, you can use a Point to Surface constraint to hold an nCloth hat or head-band to a character's hair.

To create an nHair Point to Surface constraint

  1. In the scene view, select the hair curve CVs you want to constrain. See Select curve components for nConstraints.
  2. -select the target surface to which you want to constrain the hair curves components.

    The target surface can be an nCloth or passive object, or a non-Nucleus polygon mesh.

    Note

    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.

  3. In the nDynamics menu set, select nConstraint > Point to Surface.

    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 Point to Surface constraint) and how it behaves. For example, you can create a Point to Surface constraint with the following attribute settings:

    See dynamicConstraintShape.

Related topics

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License