get_physics_state
Retrieve the physics state of a prim to diagnose issues like objects falling through ground, not moving, or grasping failures. Returns rigid body status, mass, velocities, and collision info.
Instructions
Diagnostic tool: get physics state for a prim.
Returns rigid body status, mass, velocities, kinematic flag, and collision info. Call this when:
Objects fall through the ground (check collision enabled)
Objects don't move when expected (check is_kinematic, mass)
Grasping fails (check collision on gripper fingers and target object)
Args: prim_path: USD path to the prim to inspect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |