Search Results for

    Show / Hide Table of Contents

    Class HandlingData

    Inheritance
    Object
    HandlingData
    Inherited Members
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public class HandlingData

    Properties

    | Improve this Doc View Source

    AntiRollBarBiasFront

    Gets or sets the bias between front and rear for the anti-roll bar.

    Declaration
    public float AntiRollBarBiasFront { get; set; }
    Property Value
    Type Description
    Single

    The anti roll bar bias front. 0.0f is fully front, 1.0f is fully rear.

    | Improve this Doc View Source

    AntiRollBarForce

    Gets or sets the spring constant that is transmitted to the opposite wheel when under compression. Larger numbers result in a larger force being applied.

    Declaration
    public float AntiRollBarForce { get; set; }
    Property Value
    Type Description
    Single

    The anti roll bar force.

    | Improve this Doc View Source

    BrakeForce

    Declaration
    public float BrakeForce { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    CamberStiffness

    Declaration
    public float CamberStiffness { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    CenterOfMassOffset

    Declaration
    public Vector3 CenterOfMassOffset { get; set; }
    Property Value
    Type Description
    Vector3
    | Improve this Doc View Source

    ClutchChangeRateScaleDownShift

    Gets or sets the clutch speed multiplier on down shifts.

    Declaration
    public float ClutchChangeRateScaleDownShift { get; set; }
    Property Value
    Type Description
    Single

    The clutch speed multiplier on down shifts.

    | Improve this Doc View Source

    ClutchChangeRateScaleUpShift

    Gets or sets the clutch speed multiplier on up shifts.

    Declaration
    public float ClutchChangeRateScaleUpShift { get; set; }
    Property Value
    Type Description
    Single

    The clutch speed multiplier on up shifts.

    | Improve this Doc View Source

    CollisionDamageMultiplier

    Declaration
    public float CollisionDamageMultiplier { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    DeformationDamageMultiplier

    Declaration
    public float DeformationDamageMultiplier { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    DriveInertia

    Gets or sets the drive inertia that determines how fast the engine acceleration is.

    Declaration
    public float DriveInertia { get; set; }
    Property Value
    Type Description
    Single

    The drive inertia.

    Remarks

    If you want a vehicle with high torque but slow acceleration (e.g. a truck), lower the driver inertia and specify a high drive force.

    | Improve this Doc View Source

    EngineDamageMultiplier

    Declaration
    public float EngineDamageMultiplier { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    HandBrakeForce

    Declaration
    public float HandBrakeForce { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    InertiaMultiplier

    Declaration
    public Vector3 InertiaMultiplier { get; set; }
    Property Value
    Type Description
    Vector3
    | Improve this Doc View Source

    InitialDriveForce

    Gets or sets the power engine produces in top gear.

    Declaration
    public float InitialDriveForce { get; set; }
    Property Value
    Type Description
    Single

    The power engine that produces in top gear.

    | Improve this Doc View Source

    InitialDriveGears

    Gets or sets the number of gears (excluding reverse).

    Declaration
    public int InitialDriveGears { get; set; }
    Property Value
    Type Description
    Int32

    The number of gears (excluding reverse).

    | Improve this Doc View Source

    IsValid

    Returns true if this HandlingData is valid.

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    Boolean

    true if this HandlingData is valid; otherwise, false.

    | Improve this Doc View Source

    Mass

    Gets or sets the weight.

    Declaration
    public float Mass { get; set; }
    Property Value
    Type Description
    Single

    The weight in Kilograms.

    | Improve this Doc View Source

    MemoryAddress

    Gets the memory address where the HandlingData is stored in memory.

    Declaration
    public IntPtr MemoryAddress { get; }
    Property Value
    Type Description
    IntPtr
    | Improve this Doc View Source

    MonetaryValue

    Declaration
    public int MonetaryValue { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    OilVolume

    Gets or sets the amount of oil.

    Declaration
    public float OilVolume { get; set; }
    Property Value
    Type Description
    Single

    The amount of oil.

    | Improve this Doc View Source

    PercentSubmerged

    Gets or sets the percentage of the "floating height" after it falls into the water, before sinking.

    Declaration
    public float PercentSubmerged { get; set; }
    Property Value
    Type Description
    Single

    The percentage between 0 and 1.

    Remarks

    The default value for vanilla land vehicles is 0.85. The value will stop sinking the vehicle to float for a moment before sinking. An invalid number will cause the vehicle to sink without the driver drowning.

    | Improve this Doc View Source

    PetrolTankVolume

    Gets or sets the amount of petrol that will leak after damaging a vehicle's tank.

    Declaration
    public float PetrolTankVolume { get; set; }
    Property Value
    Type Description
    Single

    The amount of petrol.

    | Improve this Doc View Source

    RollCenterHeightFront

    Declaration
    public float RollCenterHeightFront { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    RollCenterHeightRear

    Declaration
    public float RollCenterHeightRear { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SeatOffsetDistanceX

    Declaration
    public float SeatOffsetDistanceX { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SeatOffsetDistanceY

    Declaration
    public float SeatOffsetDistanceY { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SeatOffsetDistanceZ

    Declaration
    public float SeatOffsetDistanceZ { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SteeringLock

    Gets or sets a value that multiplies the game's calculation of the angle of the steer wheel will turn while at full turn. Steering lock is directly related to over/under-steer.

    Declaration
    public float SteeringLock { get; set; }
    Property Value
    Type Description
    Single

    The value that multiplies the game's calculation of the angle of the steer wheel, between 0.01 and above.

    | Improve this Doc View Source

    SuspensionBiasFront

    Gets or sets the damping scale bias between front and rear wheels. This value determines which suspension is stronger, front or rear.

    Declaration
    public float SuspensionBiasFront { get; set; }
    Property Value
    Type Description
    Single

    The suspension bias front.

    Remarks

    if more wheels at back (e.g. trucks), front suspension should be stronger.

    | Improve this Doc View Source

    SuspensionCompressionDamping

    Declaration
    public float SuspensionCompressionDamping { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SuspensionForce

    Gets or sets the suspension force. Lower limit for zero force at full extension is calculated using (1.0f / (force * number of wheels)).

    Declaration
    public float SuspensionForce { get; set; }
    Property Value
    Type Description
    Single

    The suspension force.

    | Improve this Doc View Source

    SuspensionLowerLimit

    Gets or sets how far the wheels can move down from their original position.

    Declaration
    public float SuspensionLowerLimit { get; set; }
    Property Value
    Type Description
    Single

    The suspension lower limit.

    | Improve this Doc View Source

    SuspensionRaise

    Gets or sets the adjustment from artist positioning.

    Declaration
    public float SuspensionRaise { get; set; }
    Property Value
    Type Description
    Single

    The suspension raise.

    | Improve this Doc View Source

    SuspensionReboundDamping

    Declaration
    public float SuspensionReboundDamping { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    SuspensionUpperLimit

    Gets or sets how far the wheels can move up from their original position.

    Declaration
    public float SuspensionUpperLimit { get; set; }
    Property Value
    Type Description
    Single

    The suspension upper limit.

    | Improve this Doc View Source

    TractionBiasFront

    Gets or sets the value that determines the distribution of traction from front to rear.

    Declaration
    public float TractionBiasFront { get; set; }
    Property Value
    Type Description
    Single

    The value that determines distribution of traction from front to rear.

    | Improve this Doc View Source

    TractionCurveMax

    Declaration
    public float TractionCurveMax { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    TractionCurveMin

    Declaration
    public float TractionCurveMin { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    TractionLossMultiplier

    Gets or sets how much traction is affected by material grip differences from 1.0f.

    Declaration
    public float TractionLossMultiplier { get; set; }
    Property Value
    Type Description
    Single

    The traction loss multiplier.

    | Improve this Doc View Source

    TractionSpringDeltaMax

    Gets or sets the maximum distance for traction spring.

    Declaration
    public float TractionSpringDeltaMax { get; set; }
    Property Value
    Type Description
    Single

    The traction loss multiplier.

    | Improve this Doc View Source

    WeaponDamageMultiplier

    Declaration
    public float WeaponDamageMultiplier { get; set; }
    Property Value
    Type Description
    Single

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)
    | Improve this Doc View Source

    GetByHash(Int32)

    Declaration
    public static HandlingData GetByHash(int handlingNameHash)
    Parameters
    Type Name Description
    Int32 handlingNameHash
    Returns
    Type Description
    HandlingData
    | Improve this Doc View Source

    GetByVehicleModel(Model)

    Declaration
    public static HandlingData GetByVehicleModel(Model VehicleModel)
    Parameters
    Type Name Description
    Model VehicleModel
    Returns
    Type Description
    HandlingData
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(HandlingData, HandlingData)

    Declaration
    public static bool operator ==(HandlingData left, HandlingData right)
    Parameters
    Type Name Description
    HandlingData left
    HandlingData right
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Inequality(HandlingData, HandlingData)

    Declaration
    public static bool operator !=(HandlingData left, HandlingData right)
    Parameters
    Type Name Description
    HandlingData left
    HandlingData right
    Returns
    Type Description
    Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX