Class VehicleSuspensionPartState

Class that gives access to the simulation state of a suspension part.

Hierarchy

  • FrameworkObject
    • VehicleSuspensionPartState

Constructors

Accessors

  • get attachmentTransform(): Immutable<Transform>
  • Gets the transform of the suspension part that is applied before its VehicleSuspensionPartConfiguration::BaseTransform. This is only relevant when using the VehicleSuspensionPartMode::BrakeAssembly mode and contains a transform that rotates the part with the steering of the wheel but not with the rotation angle of the wheel.

    Returns Immutable<Transform>

  • get currentLength(): number
  • Gets the current suspension part length. Only relevant when the suspension part is using the VehicleSuspensionPartMode::Suspension mode.

    Returns number