Generate Force Fields with nCloth
 
 
 

You can generate a Force Field from your nCloth that either pushes nParticle objects or other nCloth objects away from your nCloth, or pulls nParticle objects or other nCloth toward your nCloth. Force fields are defined by Field Magnitude, as well as Field Distance, which is the distance from the field generating object that the field is active. Positive Field Magnitude values produce a force that push Nucleus objects away, while negative Field Magnitude values generate a force that pulls objects toward your nCloth object. The motion your nCloth is not affected by the force field it generates.

You can generate a Force Field from the surface normals as well as from the positive and negative normals of your nCloth object.

Force fields have a Field Scale ramp that you can use to control how Field Magnitude distributes along the area defined by Field Distance.

To generate a force field for nCloth

  1. Select the nCloth object you want to generate force fields.
  2. In the Attribute Editor, select the nCloth object’s nClothShape tab.
  3. In the Field Generation section, turn on force fields by selecting one of the following from the Force Field list:
    • Along Normal generates a force field from the surface normals of the nCloth object.
    • Single Sided generates a force field from the positive normals of the nCloth object.
    • Double Sided generates a force field from the positive and negative normals (both sides) of the nCloth object.
  4. Adjust Field Magnitude to increase or decrease the force field strength.

    Positive Field Magnitude values push Nucleus objects away from the nCloth, while negative Field Magnitude values pull other Nucleus objects toward the nCloth.

  5. Adjust Field Distance to specify the distance from the nCloth that the force field is active.

    Nucleus objects located in the area specified by the Field Distance are affected by the force field.