.. _omni_physx_graph_PropertyQueryRigidBody_1:

.. _omni_physx_graph_PropertyQueryRigidBody:

.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================

:orphan:

.. meta::
    :title: Get Rigid Body Properties
    :keywords: lang-en omnigraph node PhysX Property Queries WriteOnly ReadWrite graph property-query-rigid-body


Get Rigid Body Properties
=========================

.. <description>

Returns the physics-related properties of an input rigid body.

.. </description>


Installation
------------

To use this node enable :ref:`omni.physx.graph<ext_omni_physx_graph>` in the Extension Manager.


Inputs
------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "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
-------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "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
--------
.. csv-table::
    :header: "Name", "Value"
    :widths: 30,70

    "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"

