VehicleConfigData

Inherits from DataContainer

Summary

Constructors

VehicleConfigData()
VehicleConfigData(guid: Guid)
VehicleConfigData(other: DataContainer)

Properties

Name Type
centerOfMass Vec3
centerOfMassHandlingOffset Vec3
inertiaModifier Vec3
aeroDynamicPhysics AeroDynamicPhysicsData | nil
parachutePhysics VehicleParachuteData | nil
motorbikePhysics MotorbikeData | nil
motionDamping MotionDampingData | nil
input VehicleInputData
floatPhysics FloatPhysicsData | nil
stabilizer StabilizerData | nil
stabilizers StabilizerSettings[]
constantForce ConstantForceData[]
vehicleModeAtReset VehicleMode
bodyMass float
gravityModifier float
yawMin float
yawMax float
downForceBaseFactor float
downForceWheelFactor float
vehicleModeChangeEnteringTime float
vehicleModeChangeStartingTime float
vehicleModeChangeStoppingTime float
vehicleModeChangeLeavingTime float
standStillLowSpeedTimeLimit float
staticFrictionBreakCollisionMod float
staticFrictionBreakVelocityMod float
coefficientOfAirFriction float
airDensity float
airDragArea float
windResistanceBaseFactor float
windResistanceVelocityFactor float
windResistanceVelocityFactorMin float
windResistanceVelocityFactorMax float
antiRollBars AntiRollBars
useDownForceWheelFactor bool
useGearbox bool
useStandStillBrake bool
useStandStillSleep bool
useTurnAroundForce bool
useMotorcycleControl bool
invertPitchAllowed bool
useWindResistance bool
useDownForce bool

Static members

Name Type
VehicleConfigData.typeInfo TypeInformation

Constructors

VehicleConfigData

VehicleConfigData()

Creates a new VehicleConfigData frostbite instance.

VehicleConfigData

VehicleConfigData(guid: Guid)

Creates a new VehicleConfigData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

VehicleConfigData

VehicleConfigData(other: DataContainer)

Casts an instance of type DataContainer to VehicleConfigData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to VehicleConfigData.

Properties

centerOfMass

Vec3

centerOfMassHandlingOffset

Vec3

inertiaModifier

Vec3

aeroDynamicPhysics

AeroDynamicPhysicsData | nil

parachutePhysics

VehicleParachuteData | nil

motorbikePhysics

MotorbikeData | nil

motionDamping

MotionDampingData | nil

input

VehicleInputData

floatPhysics

FloatPhysicsData | nil

stabilizer

StabilizerData | nil

stabilizers

StabilizerSettings[]

constantForce

ConstantForceData[]

vehicleModeAtReset

VehicleMode

bodyMass

float

gravityModifier

float

yawMin

float

yawMax

float

downForceBaseFactor

float

downForceWheelFactor

float

vehicleModeChangeEnteringTime

float

vehicleModeChangeStartingTime

float

vehicleModeChangeStoppingTime

float

vehicleModeChangeLeavingTime

float

standStillLowSpeedTimeLimit

float

staticFrictionBreakCollisionMod

float

staticFrictionBreakVelocityMod

float

coefficientOfAirFriction

float

airDensity

float

airDragArea

float

windResistanceBaseFactor

float

windResistanceVelocityFactor

float

windResistanceVelocityFactorMin

float

windResistanceVelocityFactorMax

float

antiRollBars

AntiRollBars

useDownForceWheelFactor

bool

useGearbox

bool

useStandStillBrake

bool

useStandStillSleep

bool

useTurnAroundForce

bool

useMotorcycleControl

bool

invertPitchAllowed

bool

useWindResistance

bool

useDownForce

bool

Static members

typeInfo

TypeInformation

The type information for the VehicleConfigData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)