Rigs of Rods 2023.09
Soft-body Physics Simulation
Loading...
Searching...
No Matches
ScrewpropClass.h
Go to the documentation of this file.
1namespace Script2Game {
2
16{
17 // PLEASE maintain the same order as in 'bindings/ScrewpropAngelscript.cpp' and 'physics/water/ScrewProp.h'
18public:
23 void setThrottle(float throttle);
24
29 void setRudder(float rudderDeflection);
30
34 float getThrottle();
35
39 float getRudder();
40
44 float getMaxPower();
45
49 bool getReverse();
50
55
60
65
69 int getUpNode();
70};
71
74
75} //namespace Script2Game
Binding of RoR::Screwprop.
void setThrottle(float throttle)
Sets the throttle.
void setRudder(float rudderDeflection)
Sets the rudder deflection.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.