Class WheeledVehicle.GearboxSettings
Vehicle gearbox settings.
Inheritance
System.Object
    WheeledVehicle.GearboxSettings
    Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class GearboxSettings : ValueTypeFields
AutoGear
If enabled the vehicle gears will be changes automatically, otherwise it's fully manual.
Declaration
public bool AutoGearField Value
| System.Boolean 
 | 
ClutchStrength
Strength of clutch. A stronger clutch more strongly couples the engine to the wheels, while a clutch of strength zero completely decouples the engine from the wheels. Stronger clutches more quickly bring the wheels and engine into equilibrium, while weaker clutches take longer, resulting in periods of clutch slip and delays in power transmission from the engine to the wheels. Specified in kilograms metres-squared per second (kg m^2 s^-1).
Declaration
[Limit(0F, 3.40282347E+38F, 1F)]
public float ClutchStrengthField Value
| System.Single 
 | 
ForwardGearsRatios
Number of gears to move to forward
Declaration
[Limit(1F, 30F, 1F)]
public int ForwardGearsRatiosField Value
| System.Int32 
 | 
SwitchTime
Time it takes to switch gear. Specified in seconds (s).
Declaration
[Limit(0F, 3.40282347E+38F, 1F)]
public float SwitchTimeField Value
| System.Single 
 | 
Properties
Default
The default WheeledVehicle.GearboxSettings.
Declaration
public static WheeledVehicle.GearboxSettings Default { get; }Property Value
| WheeledVehicle.GearboxSettings 
 |