add_rigid_body
Add rigid body physics to a 3D object, choosing between active (affected by gravity) and passive (static collider) types, with customizable collision shapes like box, sphere, or convex hull.
Instructions
Add rigid body physics to an object. Types: ACTIVE (affected by gravity), PASSIVE (static collider). collision_shape: BOX, SPHERE, CAPSULE, CYLINDER, CONE, CONVEX_HULL (default, fits shape), MESH (exact, slow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | ||
| name | Yes | ||
| type | No | ACTIVE | |
| friction | No | ||
| restitution | No | ||
| collision_shape | No | CONVEX_HULL |