From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../files/structPxVehicleDriveTankControl.html | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/structPxVehicleDriveTankControl.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxVehicleDriveTankControl.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxVehicleDriveTankControl.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxVehicleDriveTankControl.html new file mode 100644 index 00000000..dc0d183a --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxVehicleDriveTankControl.html @@ -0,0 +1,96 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleDriveTankControl Struct Reference + + + + + + + +
+

PxVehicleDriveTankControl Struct Reference
+ +[Vehicle] +

The control inputs for a PxVehicleDriveTank. +More... +

+#include <PxVehicleDriveTank.h> +

+ +

+List of all members. + + + + +

Public Types

enum  Enum {
+  eANALOG_INPUT_ACCEL = 0, +
+  eANALOG_INPUT_BRAKE_LEFT, +
+  eANALOG_INPUT_BRAKE_RIGHT, +
+  eANALOG_INPUT_THRUST_LEFT, +
+  eANALOG_INPUT_THRUST_RIGHT, +
+  eMAX_NB_DRIVETANK_ANALOG_INPUTS +
+ }
+


Detailed Description

+The control inputs for a PxVehicleDriveTank. +

+

Note:
The values of eANALOG_INPUT_THRUST_LEFT and eANALOG_INPUT_THRUST_RIGHT determine how much of the total available drive torque is diverted to the left and right wheels. These entries in the enumerated list represent the state of the left and right control sticks of a tank. The total available drive torque available is controlled by eANALOG_INPUT_ACCEL, which represents the state of the acceleration pedal and controls how much torque will be applied to the engine.

+To accelerate forwards eANALOG_INPUT_ACCEL must be greater than zero so that torque is applied to drive the engine, while eANALOG_INPUT_THRUST_LEFT and eANALOG_INPUT_THRUST_RIGHT must also be greater than zero to divert the available drive torque to the left and wheels. If eANALOG_INPUT_THRUST_LEFT > eANALOG_INPUT_THRUST_RIGHT the tank will turn to the right. If eANALOG_INPUT_THRUST_RIGHT > eANALOG_INPUT_THRUST_LEFT the tank will turn to the left.

+
See also:
PxVehicleDriveDynData::setAnalogInput, PxVehicleDriveDynData::getAnalogInput
+

Member Enumeration Documentation

+ +
+ +
+ +

+

Enumerator:
+ + + + + + + +
eANALOG_INPUT_ACCEL  +
eANALOG_INPUT_BRAKE_LEFT  +
eANALOG_INPUT_BRAKE_RIGHT  +
eANALOG_INPUT_THRUST_LEFT  +
eANALOG_INPUT_THRUST_RIGHT  +
eMAX_NB_DRIVETANK_ANALOG_INPUTS  +
+
+ +
+

+


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

+Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3