Creating an nCloth object

 
 
 

The first step in the nCloth creation process is to convert the polygon object you want to behave like cloth to an nCloth object.

To make a polygon mesh nCloth

  1. Select the checkered table cloth.
  2. Select nMesh > Create nCloth > .

    The Create nCloth Options window appears.

  3. Select nucleus1 from the Solver drop-down list.

    Selecting a solver determines which Maya Nucleus system the nCloth belongs to.

  4. Turn on Local Space Output.

    Defining a space output determines whether the table cloth’s input and output nCloth meshes are both attached to the selected Maya Nucleus solver (Local Space Output), or just the output nCloth mesh (World Space).

  5. Click Create Cloth.

    The static quad polygon table cloth is automatically tessellated and converted to a dynamic nCloth object, and an nCloth handle appears on your table cloth in the scene view. The nCloth handle resembles a small wireframe sphere, and it is located at the center of table cloth. You can use the table cloth’s nCloth handle to quickly select its nClothShape node in the Hypergraph or its tab in the Attribute Editor.

  6. Select Window > Hypergraph: Connections to view the new node connections for the table cloth in the Dependency Graph (DG).

    The Hypergraph appears with a new Maya Nucleus network of nodes. Note that the table cloth is now a member of the nucleus1 Maya Nucleus system.

    nClothShape1 is the nCloth properties node, which carries all the nCloth attributes for the table cloth.

    nucleus1 is the Maya Nucleus solver node, which carries all the attributes affecting the nucleus1 solver system, including internal forces.

    TableClothShape is the input mesh and start object for the table cloth.

    outputCloth1 is the output mesh or current mesh, and the resulting nCloth table cloth that you see in the scene view.

    polyPlane2 is the history node for the table cloth.

  7. Close the Hypergraph and play back your table cloth’s simulation.

    The table cloth passes right through the table, its base, and the floor. This is because the nCloth does not recognize any of the other objects in your scene. For the nCloth table cloth to be able to interact with the table, its base, and the floor, they need to be members of the same Maya Nucleus solver system as the table cloth.

  8. Go to the beginning of the playback range.