Class Handling
Represents vehicle handling properties
Assembly: SlipeShared.dll
Syntax
Constructors
|
Improve this Doc
View Source
Handling()
Declaration
|
Improve this Doc
View Source
Handling(SharedVehicle)
Builds vehicle handling from a vehicle
Declaration
public Handling(SharedVehicle vehicle)
Parameters
|
Improve this Doc
View Source
Handling(Dictionary<String, Object>)
Build a vehicle handling instance from a raw handling table
Declaration
public Handling(Dictionary<string, dynamic> raw)
Parameters
Fields
|
Improve this Doc
View Source
animGroup
Declaration
Field Value
|
Improve this Doc
View Source
brakeBias
Declaration
protected float brakeBias
Field Value
|
Improve this Doc
View Source
brakeDeceleration
Declaration
protected float brakeDeceleration
Field Value
|
Improve this Doc
View Source
centerOfMass
Declaration
protected Vector3 centerOfMass
Field Value
|
Improve this Doc
View Source
collisionDamageMultiplier
Declaration
protected float collisionDamageMultiplier
Field Value
|
Improve this Doc
View Source
dragCoeff
Declaration
protected float dragCoeff
Field Value
|
Improve this Doc
View Source
driveType
Declaration
protected DriveType driveType
Field Value
|
Improve this Doc
View Source
engineAcceleration
Declaration
protected float engineAcceleration
Field Value
|
Improve this Doc
View Source
engineInertia
Declaration
protected float engineInertia
Field Value
|
Improve this Doc
View Source
engineType
Declaration
protected EngineType engineType
Field Value
|
Improve this Doc
View Source
handlingFlags
Declaration
protected uint handlingFlags
Field Value
|
Improve this Doc
View Source
headLight
Declaration
protected VehicleLightType headLight
Field Value
|
Improve this Doc
View Source
mass
Declaration
Field Value
|
Improve this Doc
View Source
maxVelocity
Declaration
protected float maxVelocity
Field Value
|
Improve this Doc
View Source
modelFlags
Declaration
protected uint modelFlags
Field Value
|
Improve this Doc
View Source
monetary
Declaration
Field Value
|
Improve this Doc
View Source
numberOfGears
Declaration
protected int numberOfGears
Field Value
|
Improve this Doc
View Source
percentSubmerged
Declaration
protected int percentSubmerged
Field Value
|
Improve this Doc
View Source
seatOffsetDistance
Declaration
protected float seatOffsetDistance
Field Value
|
Improve this Doc
View Source
steeringLock
Declaration
protected float steeringLock
Field Value
|
Improve this Doc
View Source
suspensionAntiDiveMultiplier
Declaration
protected float suspensionAntiDiveMultiplier
Field Value
|
Improve this Doc
View Source
suspensionDamping
Declaration
protected float suspensionDamping
Field Value
|
Improve this Doc
View Source
suspensionForceLevel
Declaration
protected float suspensionForceLevel
Field Value
|
Improve this Doc
View Source
suspensionFrontRearBias
Declaration
protected float suspensionFrontRearBias
Field Value
|
Improve this Doc
View Source
suspensionHighSpeedDamping
Declaration
protected float suspensionHighSpeedDamping
Field Value
|
Improve this Doc
View Source
suspensionLowerLimit
Declaration
protected float suspensionLowerLimit
Field Value
|
Improve this Doc
View Source
suspensionUpperLimit
Declaration
protected float suspensionUpperLimit
Field Value
|
Improve this Doc
View Source
tailLight
Declaration
protected VehicleLightType tailLight
Field Value
|
Improve this Doc
View Source
tractionBias
Declaration
protected float tractionBias
Field Value
|
Improve this Doc
View Source
tractionLoss
Declaration
protected float tractionLoss
Field Value
|
Improve this Doc
View Source
tractionMultiplier
Declaration
protected float tractionMultiplier
Field Value
|
Improve this Doc
View Source
turnMass
Declaration
Field Value
Properties
|
Improve this Doc
View Source
AnimationGroup
Refers to an Animation ID number.
Declaration
public int AnimationGroup { get; set; }
Property Value
|
Improve this Doc
View Source
BrakeBias
Ratio of braking force of front compared to rear; higher values move bias forward.
Declaration
public float BrakeBias { get; set; }
Property Value
|
Improve this Doc
View Source
BrakeDeceleration
Overall decelerative force.
Declaration
public float BrakeDeceleration { get; set; }
Property Value
|
Improve this Doc
View Source
CenterOfMass
Distance from the centre of the car in metres for the centre of mass.
Declaration
public Vector3 CenterOfMass { get; set; }
Property Value
|
Improve this Doc
View Source
CollisionDamageMultiplier
Amount of engine damage vehicle gets from collisions. Higher value means more damage.
Declaration
public float CollisionDamageMultiplier { get; set; }
Property Value
|
Improve this Doc
View Source
DragCoefficient
Changes resistance to movement.
Declaration
public float DragCoefficient { get; set; }
Property Value
|
Improve this Doc
View Source
DriveType
Assigns Front, Rear or 4 wheel drive.
Declaration
public DriveType DriveType { get; set; }
Property Value
|
Improve this Doc
View Source
EngineAcceleration
Basic rate of acceleration.
Declaration
public float EngineAcceleration { get; set; }
Property Value
|
Improve this Doc
View Source
EngineInertia
Smooths or sharpens the acceleration curve.
Declaration
public float EngineInertia { get; set; }
Property Value
|
Improve this Doc
View Source
EngineType
Assigns Petrol, Diesel or Electric engine characteristics.
Declaration
public EngineType EngineType { get; set; }
Property Value
|
Improve this Doc
View Source
HandlingFlags
Special performance features.
Declaration
public uint HandlingFlags { get; set; }
Property Value
|
Improve this Doc
View Source
HeadLight
Type of head lights of the vehicle.
Declaration
public VehicleLightType HeadLight { get; set; }
Property Value
|
Improve this Doc
View Source
Mass
Mass of the vehicle in kilograms.
Declaration
public float Mass { get; set; }
Property Value
|
Improve this Doc
View Source
MaxVelocity
Declaration
public float MaxVelocity { get; set; }
Property Value
|
Improve this Doc
View Source
ModelFlags
Special animations features of the which can be enabled or disabled.
Declaration
public uint ModelFlags { get; set; }
Property Value
|
Improve this Doc
View Source
Monetary
Used to calculate the Value of property damaged statistic.
Declaration
public int Monetary { get; }
Property Value
|
Improve this Doc
View Source
NumberOfGears
Number of gearchange animations and sound effects to use.
Declaration
public int NumberOfGears { get; set; }
Property Value
|
Improve this Doc
View Source
PercentSubmerged
Percentage of the vehicle height required to be submerged for the car to float.
Declaration
public int PercentSubmerged { get; set; }
Property Value
|
Improve this Doc
View Source
SeatOffsetDistance
Distance from door position to seat postion.
Declaration
public float SeatOffsetDistance { get; set; }
Property Value
|
Improve this Doc
View Source
SteeringLock
Maximum angle of steering in degrees.
Declaration
public float SteeringLock { get; set; }
Property Value
|
Improve this Doc
View Source
SuspensionAntiDiveMultiplier
Changes the amount of body pitching under braking and acceleration.
Declaration
public float SuspensionAntiDiveMultiplier { get; set; }
Property Value
|
Improve this Doc
View Source
SuspensionDamping
The inverse negative force of suspension dampeners
Declaration
public float SuspensionDamping { get; set; }
Property Value
|
Improve this Doc
View Source
SuspensionForceLevel
Force of suspension dampeners
Declaration
public float SuspensionForceLevel { get; set; }
Property Value
|
Improve this Doc
View Source
SuspensionFrontRearBias
Ratio of suspension force to apply at the front compared to the rear.
Declaration
public float SuspensionFrontRearBias { get; set; }
Property Value
|
Improve this Doc
View Source
SuspensionHighSpeedDamping
Stiffens the dampening strength as speed increases.
Declaration
public float SuspensionHighSpeedDamping { get; set; }
Property Value
|
Improve this Doc
View Source
SuspensionLowerLimit
Ride height of vehicle in metres.
Declaration
public float SuspensionLowerLimit { get; set; }
Property Value
|
Improve this Doc
View Source
SuspensionUpperLimit
Uppermost movement of wheels in metres.
Declaration
public float SuspensionUpperLimit { get; set; }
Property Value
|
Improve this Doc
View Source
TailLight
Same as above but for the tail lights.
Declaration
public VehicleLightType TailLight { get; set; }
Property Value
|
Improve this Doc
View Source
TractionBias
Ratio of front axle grip to rear axle grip; higher value shifts grip forwards.
Declaration
public float TractionBias { get; set; }
Property Value
|
Improve this Doc
View Source
TractionLoss
Accelerating/braking grip of the vehicle as a multiplier of the tyre surface friction.
Declaration
public float TractionLoss { get; set; }
Property Value
|
Improve this Doc
View Source
TractionMultiplier
Cornering grip of the vehicle as a multiplier of the tyre surface friction.
Declaration
public float TractionMultiplier { get; set; }
Property Value
|
Improve this Doc
View Source
TurnMass
Used to calculate motion effects.
Declaration
public float TurnMass { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
BuildFromTable(Dictionary<String, Object>)
Declaration
protected void BuildFromTable(Dictionary<string, dynamic> t)
Parameters
|
Improve this Doc
View Source
UpdateFromGame()
Declaration
protected virtual void UpdateFromGame()
|
Improve this Doc
View Source
UpdateToGame(String, Object)
Declaration
protected virtual void UpdateToGame(string key, dynamic value)
Parameters