add_rigid_body
Assign rigid body physics to any object, choosing dynamic or static behavior with adjustable mass, friction, and bounciness for realistic simulations.
Instructions
Add rigid body physics to an object.
Args: object_name: Target object. body_type: ACTIVE (dynamic) or PASSIVE (static/kinematic). mass: Mass in kg. friction: Surface friction (0-1). restitution: Bounciness (0-1).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"object_name": "<object_name>"
},
"name": "add_rigid_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | ||
| friction | No | ||
| body_type | No | ACTIVE | |
| object_name | Yes | ||
| restitution | No |