Class WheeledVehicle.EngineSettings
Vehicle engine settings.
Inheritance
System.Object
WheeledVehicle.EngineSettings
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class EngineSettings : ValueType
Fields
MaxRotationSpeed
Maximum rotation speed of the engine (Revolutions Per Minute is the number of turns in one minute).
Declaration
public float MaxRotationSpeed
Field Value
System.Single
|
MaxTorque
Maximum torque available to apply to the engine when the accelerator pedal is at maximum. Specified in kilograms metres-squared per second-squared (kg m^2 s^-2).
Declaration
public float MaxTorque
Field Value
System.Single
|
MOI
Moment of inertia of the engine around the axis of rotation. Specified in kilograms metres-squared (kg m^2).
Declaration
public float MOI
Field Value
System.Single
|
Properties
Default
The default WheeledVehicle.EngineSettings.
Declaration
public static WheeledVehicle.EngineSettings Default { get; }
Property Value
WheeledVehicle.EngineSettings
|