Class WheeledVehicle.DifferentialSettings
Vehicle differential settings.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class DifferentialSettings : ValueType
Fields
CentreBias
Maximum allowed ratio of average front wheel rotation speed and rear wheel rotation speeds. The differential will divert more torque to the slower wheels when the bias is exceeded. Only applied to LimitedSlip4W.
Declaration
[Limit(1F, 3.40282347E+38F, 1F)]
public float CentreBias
Field Value
System.Single
|
FrontBias
Maximum allowed ratio of front-left and front-right wheel rotation speeds. The differential will divert more torque to the slower wheel when the bias is exceeded. Only applied to LimitedSlip4W and LimitedSlipFrontDrive.
Declaration
[Limit(1F, 3.40282347E+38F, 1F)]
public float FrontBias
Field Value
System.Single
|
FrontLeftRightSplit
Ratio of torque split between front-left and front-right (higher then 0.5 means more to front-left, smaller than 0.5 means more to front-right). Only applied to LimitedSlip4W and Open4W and LimitedSlipFrontDrive.
Declaration
[Limit(0F, 1F, 1F)]
public float FrontLeftRightSplit
Field Value
System.Single
|
FrontRearSplit
Ratio of torque split between front and rear (higher then 0.5 means more to front, smaller than 0.5 means more to rear). Only applied to LimitedSlip4W and Open4W.
Declaration
[Limit(0F, 1F, 1F)]
public float FrontRearSplit
Field Value
System.Single
|
RearBias
Maximum allowed ratio of rear-left and rear-right wheel rotation speeds. The differential will divert more torque to the slower wheel when the bias is exceeded. Only applied to LimitedSlip4W and LimitedSlipRearDrive.
Declaration
[Limit(1F, 3.40282347E+38F, 1F)]
public float RearBias
Field Value
System.Single
|
RearLeftRightSplit
Ratio of torque split between rear-left and rear-right (higher then 0.5 means more to rear-left, smaller than 0.5 means more to rear-right). Only applied to LimitedSlip4W and Open4W and LimitedSlipRearDrive.
Declaration
[Limit(0F, 1F, 1F)]
public float RearLeftRightSplit
Field Value
System.Single
|
Type
Type of differential.
Declaration
public WheeledVehicle.DifferentialTypes Type
Field Value
WheeledVehicle.DifferentialTypes
|
Properties
Default
The default WheeledVehicle.DifferentialSettings.
Declaration
public static WheeledVehicle.DifferentialSettings Default { get; }
Property Value
WheeledVehicle.DifferentialSettings
|