Go to: Synopsis. Return value. Related. Flags. MEL examples.
cpTool is undoable, queryable, and editable.
Create a cloth control. Controls allow you to manipulate the cloth object directly. To create a control, select one or more vertices of the cloth mesh. Then issue the cpTool -drag command to create a cloth control. The control will be attached to these vertices. You must then run a local simulation to see the cloth object move.None
In query mode, return type is based on queried flag.
| Long name (short name) | argument types | Properties | ||
|---|---|---|---|---|
-help(-h)
|
|
|
||
|
||||
-drag(-d)
|
|
|
||
|
||||
// Select some vertices of the cloth mesh, and then // create a drag control. // select -r pPlane1.vtx[28] pPlane1.vtx[38:40] pPlane1.vtx[50]; cpTool -drag;