Skip to main content
Branch: Development

HandlingData

Vehicle handling, which affects how vehicle responds and reacts to the inputs of a driver. This handling applies to all vehicle instances, as opposed to the handling.

Remarks

Changes will be reflected on every vehicle using this particular handling, but might require vehicle recreating for changes to apply properly.

Index

Properties

publicacceleration

acceleration: number

publicantiRollBarBiasFront

antiRollBarBiasFront: number

publicantiRollBarBiasRear

antiRollBarBiasRear: number

publicantiRollBarForce

antiRollBarForce: number

publicbrakeBiasFront

brakeBiasFront: number

publicbrakeBiasRear

brakeBiasRear: number

publicbrakeForce

brakeForce: number

publiccamberStiffnesss

camberStiffnesss: number

publiccentreOfMassOffset

centreOfMassOffset: Vector3

publicclutchChangeRateScaleDownShift

clutchChangeRateScaleDownShift: number

publicclutchChangeRateScaleUpShift

clutchChangeRateScaleUpShift: number

publiccollisionDamageMult

collisionDamageMult: number

publicdamageFlags

damageFlags: number

publicdeformationDamageMult

deformationDamageMult: number

publicdownforceModifier

downforceModifier: number

publicdriveBiasFront

driveBiasFront: number

publicdriveInertia

driveInertia: number

publicdriveMaxFlatVel

driveMaxFlatVel: number

publicengineDamageMult

engineDamageMult: number

publichandBrakeForce

handBrakeForce: number

publichandlingFlags

handlingFlags: number

publicreadonlyhandlingNameHash

handlingNameHash: number

publicinertiaMultiplier

inertiaMultiplier: Vector3

publicinitialDragCoeff

initialDragCoeff: number

publicinitialDriveForce

initialDriveForce: number

publicinitialDriveGears

initialDriveGears: number

publicinitialDriveMaxFlatVel

initialDriveMaxFlatVel: number

publiclowSpeedTractionLossMult

lowSpeedTractionLossMult: number

publicmass

mass: number

publicmodelFlags

modelFlags: number

publicmonetaryValue

monetaryValue: number

publicoilVolume

oilVolume: number

publicpercentSubmerged

percentSubmerged: number

publicpercentSubmergedRatio

percentSubmergedRatio: number

publicpetrolTankVolume

petrolTankVolume: number

publicrollCentreHeightFront

rollCentreHeightFront: number

publicrollCentreHeightRear

rollCentreHeightRear: number

publicseatOffsetDistX

seatOffsetDistX: number

publicseatOffsetDistY

seatOffsetDistY: number

publicseatOffsetDistZ

seatOffsetDistZ: number

publicsteeringLock

steeringLock: number

publicsteeringLockRatio

steeringLockRatio: number

publicsuspensionBiasFront

suspensionBiasFront: number

publicsuspensionBiasRear

suspensionBiasRear: number

publicsuspensionCompDamp

suspensionCompDamp: number

publicsuspensionForce

suspensionForce: number

publicsuspensionLowerLimit

suspensionLowerLimit: number

publicsuspensionRaise

suspensionRaise: number

publicsuspensionReboundDamp

suspensionReboundDamp: number

publicsuspensionUpperLimit

suspensionUpperLimit: number

publictractionBiasFront

tractionBiasFront: number

publictractionBiasRear

tractionBiasRear: number

publictractionCurveLateral

tractionCurveLateral: number

publictractionCurveLateralRatio

tractionCurveLateralRatio: number

publictractionCurveMax

tractionCurveMax: number

publictractionCurveMaxRatio

tractionCurveMaxRatio: number

publictractionCurveMin

tractionCurveMin: number

publictractionCurveMinRatio

tractionCurveMinRatio: number

publictractionLossMult

tractionLossMult: number

publictractionSpringDeltaMax

tractionSpringDeltaMax: number

publictractionSpringDeltaMaxRatio

tractionSpringDeltaMaxRatio: number

publicunkFloat1

unkFloat1: number

publicunkFloat2

unkFloat2: number

publicunkFloat4

unkFloat4: number

publicunkFloat5

unkFloat5: number

publicweaponDamageMult

weaponDamageMult: number

Methods

publicstaticgetForHandlingName

  • getForHandlingName(handlingHash: number): HandlingData
  • Initializes a new instance of the HandlingData class that can modify handling properties for the specified handling name.

    Remarks

    The handlingHash parameter is vehicle handling name hash, not a model hash. Can be retrieved from any vehicle instance: vehicle.handling.handlingNameHash handlingNameHash

publicstaticreloadVehiclePhysics

  • reloadVehiclePhysics(modelHash: number): boolean