Edit nCloth collisions

 
 
 

Set basic collision properties

To set how your nCloth and passive objects collide

  1. In the scene view, select the nCloth or passive object for which you want to edit its collisions.
  2. In the Attribute Editor, select your nCloth (nClothShape) or passive (nRigidShape) object’s tab.
  3. In the Collisions section, set the Collide Strength.

    Collide Strength specifies the amount of force generated when nCloth or passive collision objects collide with other Nucleus objects. At the default value of 1, the objects fully collide with other Nucleus objects. Values between 0 and 1 dampen the full collision, while 0 turns off the object's collisions.

  4. In the Quality Settings section, set the Collision Flag.

    Collision Flag specifies the type of collision of your nCloth or passive object. For example, if you set Collision Flag to Face , then your nCloth or passive object’s collisions are tested for Faces only.

    To produce good collisions, nCloth and passive objects that are part of the same Maya Nucleus system should have the same Collision Flag settings.

Set collision layers

You can specify whether or not certain nCloth objects and passive objects that are part of the same Maya Nucleus system collide with each other by using collision layers. The Collision Layer attribute on your nClothShape node determines on which collision layer each nCloth and passive object is placed, and the Collision Layer Range attribute on your nucleus node determines how nCloths and passive objects on different layers collide. For more information on these collision layer attributes, see Collision Layer and Collision Layer Range.

Note

Passive objects in collision layers only collide with nCloth objects that are in the same collision layer, or in layers of higher value.

To stop nCloths, passive objects, or their components from colliding

You can use the Paint nCloth Attributes Tool to create a Collide Strength vertex map or texture map that dampens or disables collisions on nCloth and passive collision object components. See Paint nCloth property maps

Note

If you want to disable object components from collisions, ensure that areas are painted completely black. Use an Artisan brush with no dropoff, such as and ensure that the Opacity is set to 1.0. Areas of the nCloth or passive collision mesh that are shades of gray will collide.

You can also use a Disable Collision constraint to stop nCloth, passive objects, or their components from colliding. See Create Disable Collisions constraints.

To stop nCloths, passive objects, or their components from colliding with specific Maya Nucleus system members

See Create Exclude Collide Pairs constraints.

Related topics

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