YuCreate Weld Adjacent Borders constraints

You can create a Weld Adjacent Borders constraint to constrain nCloth border edges or vertices together in a non-springy manner. For example, you can use a Weld Adjacent Borders constraint to make separate nCloth meshes behave as if they are a single nCloth object.

To create a Weld Adjacent Borders constraint

  1. Select the single nCloth object, two adjacent nCloth objects, or the border vertices on two adjacent nCloths that you want to constrain. You can select nCloth objects that have the same or different topologies, and the groups of vertices you select can vary in number.
    Note:
    The nCloth objects or vertices that you want to constrain need to be either positioned close together in 3D space or located at the same XYZ positions in your scene. Otherwise the following may occur:
    • popping or jumping between the selected nCloths or vertices when the Weld Adjacent Borders constraint is created.
    • WeldAdjacent Borders constraint has no affect unless you increase the Max Distance value.
  2. Select nConstraint > Weld Adjacent Borders > .

    The Create Weld Adjacent Borders Constraint Options Box window appears.

  3. (Optional) Turn on Use Sets to add the selected nCloth’s border vertices to a dynamic constraint selection set.
  4. Click Create Constraint or Apply.

    If you selected a single nCloth object, its adjacent border edges are constrained using the Weld constraint method.

    If you selected two adjacent nCloth objects, the nearest border edges of the nCloths are constrained using the Weld constraint method. If the nCloths you selected do not have the same number of vertices at their borders, their points are constrained instead.

    If you selected vertices from two separate nCloths, the points are constrained using the Weld constraint method.

    The nCloth objects or border vertices 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 Weld constraint) and how it behaves. For example, you can create a Weld constraint with the following attribute settings:

    • Weld as the Constraint Method
    • Object to Object as the Constraint Relation
    • All to All as the Component Relation
    • Within Max Distance as the Connection Method
    • At Start as the Connection Update.

    See Dynamic Contraint attributes.