Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
AircraftEngineClass.h
Go to the documentation of this file.
1namespace Script2Game {
2
16{
17 // PLEASE maintain the same order as in 'bindings/AircraftEngineClassAngelscript.cpp' and 'physics/air/AeroEngine.h'
18public:
23 void setThrottle(float throttle);
24
28 float getThrottle();
29
34
38 void setReverse(bool reverse);
39
43 bool getReverse();
44
48 void flipStart();
49
54
58 bool isFailed();
59
64
69
74
79
83 bool getWarmup();
84};
85
88
89} //namespace Script2Game
Binding of RoR::AeroEngine.
void toggleReverse()
Toggles the thrust reversers.
void setThrottle(float throttle)
Sets the throttle.
AircraftEngineTypes getType()
Gets the engine type.
void setReverse(bool reverse)
Sets the thrust reverser status.
void flipStart()
Toggles the engine ignition.
float getRPMPercent()
Gets the current RPM value, as a percentage.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
AircraftEngineTypes
Binding of RoR::AeroEngineType.