Class VehicleTransmissionState

Class that gives access to the simulation state of a vehicle transmission.

Hierarchy

  • FrameworkObject
    • VehicleTransmissionState

Constructors

Accessors

  • get clutchPosition(): number
  • Sets the clutch. Only has an effect when the transmission is in manual mode.

    Returns number

  • set clutchPosition(value): void
  • Parameters

    • value: number

    Returns void

  • get currentGearRatio(): number
  • Gets the gear ratio of the gear the transmission is in.

    Returns number

    The gear ratio of the gear the transmission is currently in.

  • get gear(): number
  • Sets the gear of the transmission. Only has an effect when the transmission is in manual mode.

    Returns number

  • set gear(value): void
  • Parameters

    • value: number

    Returns void