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

    Class VehicleWheelState

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

    Index
    • Parameters

      • OptionalisInternalConstructor: boolean

      Returns VehicleWheelState

    • get angularVelocity(): number

      Get the angular velocity of the wheel.

      Returns number

      The angular velocity of the wheel.

    • get rotationAngle(): rsx.Radian

      Set the rotation angle of the wheel around its axis.

      Returns rsx.Radian

    • set rotationAngle(value: rsx.Radian): void

      Parameters

      Returns void

    • get steerAngle(): rsx.Radian

      Get the steering angle of the wheel.

      Returns rsx.Radian

      The current steering angle of the wheel.

    • get suspensionLength(): number

      Get the suspension length of the wheel.

      Returns number

      The suspension length of the wheel.