User Tools

Site Tools


scripting:components:wheeledsimulation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:components:wheeledsimulation [2022/08/09 23:55] – [EngineSetPeakTorqueState(float peakTorque);] jerryhopperscripting:components:wheeledsimulation [2022/08/10 00:24] (current) – [Common usage] jerryhopper
Line 4: Line 4:
 Provides functionality for wheeled vehicles. Provides functionality for wheeled vehicles.
  
-**class:** VehicleWheeledSimulation: VehicleBaseSimulation+**class:** VehicleWheeledSimulation 
 + 
 +**Parent Class:** VehicleBaseSimulation
  
 **Location:** scripts/Game/generated/Vehicle/VehicleWheeledSimulation.c **Location:** scripts/Game/generated/Vehicle/VehicleWheeledSimulation.c
Line 11: Line 13:
  
 --- ---
 +
 +===== Common usage =====
 +
 +
 +wip
 +
 +
 ===== Functions ===== ===== Functions =====
  
Line 136: Line 145:
 Return Type: [[scripting:datatypes#bool]] Return Type: [[scripting:datatypes#bool]]
  
-==== EngineGetRPMIdle()====+==== EngineGetRPMIdle() ==== 
 + 
 +  EngineGetRPMIdle();
 Returns idle rpm of the engine Returns idle rpm of the engine
  
 Return Type: [[scripting:datatypes#float]] Return Type: [[scripting:datatypes#float]]
  
-==== EngineGetRPMPeakTorque()====+==== EngineGetRPMPeakTorque() ==== 
 + 
 +  EngineGetRPMPeakTorque(); 
 Returns rpm at which engine provides maximal torque Returns rpm at which engine provides maximal torque
  
 Return Type: [[scripting:datatypes#float]] Return Type: [[scripting:datatypes#float]]
  
-==== EngineGetRPMPeakPower()====+==== EngineGetRPMPeakPower() ==== 
 + 
 +  EngineGetRPMPeakPower(); 
 Returns rpm at which engine provides maximal power Returns rpm at which engine provides maximal power
  
 Return Type: [[scripting:datatypes#float]] Return Type: [[scripting:datatypes#float]]
  
-==== EngineGetRPMMax()====+==== EngineGetRPMMax() ==== 
 + 
 +  EngineGetRPMMax(); 
 Returns maximal working rpm before engine explodes Returns maximal working rpm before engine explodes
  
 Return Type: [[scripting:datatypes#float]] Return Type: [[scripting:datatypes#float]]
  
-==== EngineGetRPM()====+==== EngineGetRPM() ==== 
 + 
 +  EngineGetRPM(); 
 Returns current engine's RPM Returns current engine's RPM
  
 Return Type: [[scripting:datatypes#float]] Return Type: [[scripting:datatypes#float]]
  
-==== EngineGetRPMFeedback()====+==== EngineGetRPMFeedback() ==== 
 + 
 +  EngineGetRPMFeedback();
 Returns RPM that is feeded back from rest of the powertrain Returns RPM that is feeded back from rest of the powertrain
  
 Return Type: [[scripting:datatypes#float]] Return Type: [[scripting:datatypes#float]]
  
-==== EngineGetLoad()====+==== EngineGetLoad() ==== 
 + 
 +  EngineGetLoad();
 Returns current engine load in range < 0, 1 > Returns current engine load in range < 0, 1 >
  
 Return Type: [[scripting:datatypes#float]] Return Type: [[scripting:datatypes#float]]
  
-==== EngineGetPeakTorque()====+==== EngineGetPeakTorque() ==== 
 + 
 +  EngineGetPeakTorque();
 Returns initial engine's peak torque in Nm (newton-metre). Returns initial engine's peak torque in Nm (newton-metre).
  
 Return Type: [[scripting:datatypes#float]]  Return Type: [[scripting:datatypes#float]] 
  
-==== EngineGetPeakTorqueState()====+==== EngineGetPeakTorqueState() ==== 
 + 
 +  EngineGetPeakTorqueState();
 Returns current engine's peak torque in Nm (newton-metre). Returns current engine's peak torque in Nm (newton-metre).
  
scripting/components/wheeledsimulation.1660085751.txt.gz · Last modified: 2022/08/09 23:55 by jerryhopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki