Go to: Return value. Related commands. Flags. Examples.

Synopsis

cpCollision [flags] [objects ...]

Return value

String: Name of cpCollisionSet

Related commands

cpButton, cpPanel, cpSolver, cpProperty, cpTool, cpConstraint, cpSeam

Flags

cloth, help, name, rigid

Long name (short name)[argument types]Properties
-help (-h) create
Prints a quick help message.
-name (-n) objectNamecreate
Specifies the name of the constraint object transform. The actual shape name will be objectNameShape.
-cloth (-c) booleancreate
Enable collisions Cloth-to-cloth.
-rigid (-r) booleancreate
Enable collisions to Rigid bodies.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Examples

      // Select some vertices of the cloth mesh
      //
      cpCollision;