## AddCompoundShapeToRigidBody

### Introduced

v6.0

### Description

Adds a compound rigid body shape to the selected object.

### Scripting Syntax

    AddCompoundShapeToRigidBody( [InputObjs], [Children] );

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObjs | String | The object which will serve as the active rigid body (parent). Default Value: Current selection
Children | String | The object(s) which will serve as the passive rigid body (children). Default Value: If no children are specified, the user is prompted to select the child(ren)

### See Also

CreateActiveRigidBody CreatePassiveRigidBody CreateCompoundRigidBody RemoveRigidBody