Get Rigid Body Properties
Returns the physics-related properties of an input rigid body.
Installation
To use this node enable omni.physx.graph in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Prim (inputs:prim) |
|
Prim to query the properties of. This must be a rigid body. |
None |
Timeout (inputs:timeout) |
|
Query timeout in milliseconds. |
10000 |
Metadata |
literalOnly = 1 |
||
Output in local frame (inputs:use_local_frame) |
|
If set to true, output coordinates are provided in the rigid body’s local frame of reference. |
False |
Metadata |
literalOnly = 1 |
Outputs
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Bounds max (outputs:AABBMax) |
|
A list of upper bounds coordinates of the colliders of the input rigid body. |
None |
Bounds min (outputs:AABBMin) |
|
A list of lower bounds coordinates of the colliders of the input rigid body. |
None |
Center of mass (outputs:centerOfMass) |
|
The center of mass of the input rigid body |
None |
Diagonal inertia (outputs:diagonalInertia) |
|
The diagonal inertia of the input rigid body (note: the return value is the inertia tensor relative to the principal axes.) |
None |
Mass (outputs:mass) |
|
The total mass of the input rigid body. |
None |
Principal axes (outputs:principalAxes) |
|
The principal axes for the inertia tensor of the input rigid body (note: the return value is always in the rigid body’s local frame.) |
None |
Metadata
Name |
Value |
|---|---|
Unique ID |
omni.physx.graph.PropertyQueryRigidBody |
Version |
1 |
Extension |
omni.physx.graph |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
tags |
physics,physx,simulation,rigid body |
uiName |
Get Rigid Body Properties |
__tokens |
{} |
Categories |
PhysX Property Queries |
Generated Class Name |
OgnPhysXPropertyQueryRigidBodyDatabase |
Python Module |
omni.physxgraph |