Constraining an nCloth to a passive object

 
 
 

You can constrain nCloth by creating dynamic links between its CVs and the components of other nCloths or passive collision objects. The stretchiness and compressibility of these collision links depends of the type of constraint they belong to.

To constrain an nCloth

  1. Play back the flag’s simulation.

    The flag falls downward through the air. For the flag to retain its position beside the flag pole in XYZ space, it needs to be constrained to the static flag pole passive object.

  2. Go to the beginning of the playback range.
  3. Select the flag.
  4. -click the flag and select Vertex from the context-sensitive menu that appears.

    The flag switches to vertex display mode.

  5. Dolly in the camera so that you can view the vertices along the left side border of the flag closely.
  6. Select the left border’s vertices.
  7. In the Reflection Settingsof the Tool Settings make sure to deselect Reflection.

    This will remove the right border selection that was created when the left border was selected.

  8. -select the flag pole passive object to include it in your selection.
  9. Select nConstraint > Point to Surface.

    A point to surface constraint is created, and constraint links appear between the vertices you selected on the nCloth flag, and the surface of the flag pole passive object.

  10. Play back the flag’s simulation.

    The flag gently falls and ripples, but does not continue to fall out of view. This is because the point to surface nCloth constraint attaching the flag CVs to the flag pole now restricts the position of the whole flag in XYZ space. You may have to add frames at the end to see the flag drop as completely as in this example.

  11. Go to the beginning of the playback range.

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