|  | Jolt Physics
    A multi core friendly Game Physics Engine | 
Generic properties for a vehicle engine. More...
#include <VehicleEngine.h>
 
  
| Public Member Functions | |
| VehicleEngineSettings () | |
| Constructor.  More... | |
| void | SaveBinaryState (StreamOut &inStream) const | 
| Saves the contents in binary form to inStream.  More... | |
| void | RestoreBinaryState (StreamIn &inStream) | 
| Restores the contents in binary form to inStream.  More... | |
| Public Attributes | |
| float | mMaxTorque = 500.0f | 
| Max amount of torque (Nm) that the engine can deliver.  More... | |
| float | mMinRPM = 1000.0f | 
| Min amount of revolutions per minute (rpm) the engine can produce without stalling.  More... | |
| float | mMaxRPM = 6000.0f | 
| Max amount of revolutions per minute (rpm) the engine can generate.  More... | |
| LinearCurve | mNormalizedTorque | 
| Curve that describes a ratio of the max torque the engine can produce vs the fraction of the max RPM of the engine.  More... | |
| float | mInertia = 0.5f | 
| Moment of inertia (kg m^2) of the engine.  More... | |
| float | mAngularDamping = 0.2f | 
| Angular damping factor of the wheel: dw/dt = -c * w.  More... | |
Generic properties for a vehicle engine.
| VehicleEngineSettings::VehicleEngineSettings | ( | ) | 
Constructor.
| void VehicleEngineSettings::RestoreBinaryState | ( | StreamIn & | inStream | ) | 
Restores the contents in binary form to inStream.
| void VehicleEngineSettings::SaveBinaryState | ( | StreamOut & | inStream | ) | const | 
Saves the contents in binary form to inStream.
| float VehicleEngineSettings::mAngularDamping = 0.2f | 
Angular damping factor of the wheel: dw/dt = -c * w.
| float VehicleEngineSettings::mInertia = 0.5f | 
Moment of inertia (kg m^2) of the engine.
| float VehicleEngineSettings::mMaxRPM = 6000.0f | 
Max amount of revolutions per minute (rpm) the engine can generate.
| float VehicleEngineSettings::mMaxTorque = 500.0f | 
Max amount of torque (Nm) that the engine can deliver.
| float VehicleEngineSettings::mMinRPM = 1000.0f | 
Min amount of revolutions per minute (rpm) the engine can produce without stalling.
| LinearCurve VehicleEngineSettings::mNormalizedTorque | 
Curve that describes a ratio of the max torque the engine can produce vs the fraction of the max RPM of the engine.