RSX Code Reference
    Preparing search index...
    • rsx
    • VehicleTransmissionState

    Class VehicleTransmissionState

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

    Index
    • get clutchPosition(): number

      Sets the clutch. Only has an effect when the transmission is in manual mode.

      Returns number

    • set clutchPosition(value: number): 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: number): void

      Parameters

      • value: number

      Returns void