get_physics_state
Diagnose physics problems by reading rigid body status, mass, velocities, kinematic flag, and collision info for any prim. Identify why objects fall through ground, fail to move, or grasping fails.
Instructions
Diagnostic tool: get physics state for a prim.
Returns rigid body status, mass, velocities, kinematic flag, and collision info. Velocity units: linear_velocity in m/s, angular_velocity in rad/s. Velocities are only non-zero once the simulation has advanced — step the simulation (or play) before reading them. 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 | ||
| command_id | No | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |