Create an nHair Component to Component constraint

 
 
 

You can create a Component to Component constraint to attach hair system curves to other nHair curves or to other Nucleus objects components. For example, you can constrain selected hair curve CVs to the vertices of a passive collision hair clip or barrette so that it holds the hair in place.

  1. In the scene view, select the hair curve CVs you want to constrain. See Select curve components for nConstraints.
  2. Select the target components of the Nucleus object to which you want to constrain the selected hair curve CVs. If you select edges or faces, then all their vertices will be constrained to the hair.
    Note

    If you selected target components on a non-Nucleus object, that object will be made a passive object when the constraint is created.

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

    The hair curve CVs you selected are now constrained to the selected target vertices, 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 Component to Component constraint) and how it behaves. For example, you can create a Component to Component 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