Your Ad Here

Go to: Synopsis. Flags. Return value. Related.

Synopsis

cpRigidCollisionFilter( [object] , [addRigidBody=objectName], [removeRigidBody=objectName])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

cpRigidCollisionFilter is undoable, queryable, and editable.

Creates a new dynamic attribute on the rigidBody that allows it to toggle collisions for a given collision constraint set.

Flags

addRigidBody, removeRigidBody
Long name (short name) [argument types] Properties
addRigidBody(arb) objectName create
Adds a rigid collision filter for the given object on the specified collision constraint. This flag and -rrb/removeRigidBody are mutually exclusive.
removeRigidBody(rrb) objectName create
Removes a rigid collision filter for the given object on the specified collision constraint. This flag and -arb/addRigidBody are mutually exclusive.

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 have multiple arguments, passed either as a tuple or a list.

Return value


Nothing.

Related

cpCollision

Return to Autodesk Index


Your Ad Here