Enum Class PxVehicleEngineDriveTransmissionCommandStateEnum

java.lang.Object
java.lang.Enum<PxVehicleEngineDriveTransmissionCommandStateEnum>
physx.vehicle2.PxVehicleEngineDriveTransmissionCommandStateEnum
All Implemented Interfaces:
Serializable, Comparable<PxVehicleEngineDriveTransmissionCommandStateEnum>, Constable

public enum PxVehicleEngineDriveTransmissionCommandStateEnum extends Enum<PxVehicleEngineDriveTransmissionCommandStateEnum>
A description of the state of transmission-related commands that are applied to a vehicle with engine drive.
  • Enum Constant Details

    • eAUTOMATIC_GEAR

      public static final PxVehicleEngineDriveTransmissionCommandStateEnum eAUTOMATIC_GEAR
      Special gear value to denote the automatic shift mode (often referred to as DRIVE).

      When using automatic transmission, setting this value as target gear will enable automatic gear shifts between first and highest gear. If the current gear is a reverse gear or the neutral gear, then this value will trigger a shift to first gear. If this value is used even though there is no automatic transmission available, the gear state will remain unchanged.

  • Field Details

    • value

      public final int value
  • Method Details