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 engine torque without any gears attached to it. Be sure to provide your own gear ratios for the appropriate torque to be transmitted to the wheels or if you're using an instance of YACC.GearBox you can use the GetShaftTorqueAtRPM method.