Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions
Script2Game::TurbopropClass Class Reference

Description

Binding of RoR::Turboprop.

Contains information specific to propeller engines.

Note
Obtain the object using BeamClass.getTurboprop(int index).

Definition at line 15 of file TurbopropClass.h.

Public Member Functions

float getPropellerPitch ()
 
float getPropellerIndicatedTorque ()
 
float getPropellerMaxTorque ()
 
float getPropellerMaxPower ()
 
bool isPistonProp ()
 

Member Function Documentation

◆ getPropellerIndicatedTorque()

float Script2Game::TurbopropClass::getPropellerIndicatedTorque ( )
Returns
The current torque applied to the propeller, in newton-metres.

◆ getPropellerMaxPower()

float Script2Game::TurbopropClass::getPropellerMaxPower ( )
Returns
The maximum power of the engine, in kilowatts.

◆ getPropellerMaxTorque()

float Script2Game::TurbopropClass::getPropellerMaxTorque ( )
Returns
The current torque that can be applied to the propeller, in newton-metres.

◆ getPropellerPitch()

float Script2Game::TurbopropClass::getPropellerPitch ( )
Returns
The propeller pitch, in degrees.

◆ isPistonProp()

bool Script2Game::TurbopropClass::isPistonProp ( )
Returns
Whether the engine is a piston propeller.

The documentation for this class was generated from the following file: