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)

target

Prim to query the properties of. This must be a rigid body.

None

Timeout (inputs:timeout)

int

Query timeout in milliseconds.

10000

Metadata

literalOnly = 1

Output in local frame (inputs:use_local_frame)

bool

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)

float[3]

A list of upper bounds coordinates of the colliders of the input rigid body.

None

Bounds min (outputs:AABBMin)

float[3]

A list of lower bounds coordinates of the colliders of the input rigid body.

None

Center of mass (outputs:centerOfMass)

float[3]

The center of mass of the input rigid body

None

Diagonal inertia (outputs:diagonalInertia)

float[3]

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)

float

The total mass of the input rigid body.

None

Principal axes (outputs:principalAxes)

float[4]

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