Method GetEngineTorqueAtRPM
GetEngineTorqueAtRPM(float)
Returns the torque at the engine for a specific RPM.
Declaration
public float GetEngineTorqueAtRPM(float atRPM = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| float | atRPM | Target RPM of the engine |
Returns
| Type | Description |
|---|---|
| float | The engine torque specified in Newton Meters |
Remarks
This method will return the raw engine torque without any gears attached to it. Be sure to multiply by gear ratios for the appropriate torque to be transmitted to the wheels. The controller handles this multiplication automatically.