OmniGraph Node omni.physx.graph.VehicleGetDriveState
omni.physx.graph.VehicleGetDriveState Properties
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.physx.graph |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
tests, usd |
tags |
physics |
uiName |
Get Vehicle Drive State |
__categories |
Omni PhysX Vehicles |
__exclusions |
tests,usd |
Generated Class Name |
OgnVehicleGetDriveStateDatabase |
Python Module |
omni.physxgraph |
omni.physx.graph.VehicleGetDriveState Description
Retrieving drive related simulation state of an omni.physx vehicle. Note: the simulation must be running if this node is evaluated, else the resulting behavior will be undefined.
omni.physx.graph.VehicleGetDriveState Inputs
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:vehiclePath |
token |
Y |
The USD path of the vehicle prim to get the drive state for |
|
uiName |
Vehicle USD Path |
omni.physx.graph.VehicleGetDriveState Outputs
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:accelerator |
float |
None |
Y |
The state of the accelerator pedal |
uiName |
Accelerator |
|||
outputs:automaticTransmission |
bool |
None |
Y |
The state of the automatic transmission |
uiName |
Automatic Transmission |
|||
outputs:brake0 |
float |
None |
Y |
The state of the brake pedal |
uiName |
Brake0 |
|||
outputs:brake1 |
float |
None |
Y |
The state of the handbrake |
uiName |
Handbrake |
|||
outputs:currentGear |
int |
None |
Y |
The current gear |
uiName |
Current Gear |
|||
outputs:engineRotationSpeed |
float |
None |
Y |
The engine rotation speed in radians per second |
uiName |
Engine Rotation Speed |
|||
outputs:steer |
float |
None |
Y |
The state of the steering wheel |
uiName |
Steer |
|||
outputs:targetGear |
int |
None |
Y |
The target gear |
uiName |
Target Gear |