Unity Add Rigidbody
unity_add_rigidbodyAdds a Rigidbody component to a Unity GameObject, configuring physics properties like mass, drag, gravity, kinematic mode, position/rotation constraints, and collision detection.
Instructions
Add a Rigidbody component to a GameObject with mass, drag, constraints, and collision detection settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | GameObject path. | |
| mass | No | Rigidbody mass. | |
| drag | No | Linear drag. | |
| angularDrag | No | Angular drag. | |
| useGravity | No | Whether gravity affects this body. | |
| isKinematic | No | Kinematic mode (not affected by forces). | |
| freezePositionX | No | ||
| freezePositionY | No | ||
| freezePositionZ | No | ||
| freezeRotationX | No | ||
| freezeRotationY | No | ||
| freezeRotationZ | No | ||
| collisionDetection | No | Collision detection mode. | Discrete |
| timeoutMs | No | Command timeout. |