RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleCommandState Struct Reference

A description of the state of commands that are applied to the vehicle. More...

#include <PxVehicleCommandStates.h>

Public Member Functions

PX_FORCE_INLINE void setToDefault ()
 

Public Attributes

PxReal brakes [2]
 The instantaneous state of the brake controllers in range [0,1] with 1 denoting fully pressed and 0 fully depressed.
 
PxU32 nbBrakes
 
PxReal throttle
 The instantaneous state of the throttle controller in range [0,1] with 1 denoting fully pressed and 0 fully depressed.
 
PxReal steer
 The instantaneous state of the steer controller in range [-1,1].
 

Detailed Description

A description of the state of commands that are applied to the vehicle.

Note
brakes[0] and brakes[1] may be used to distinguish brake and handbrake controls.

The documentation for this struct was generated from the following file: