Property engineTorque
engineTorque
The torque output of the engine at the current RPM.
Declaration
public float engineTorque { get; }
Property Value
Type | Description |
---|---|
float |
Examples
Use this to get the torque output of the engine at the current RPM. to be used in conjuction with the throttle property and feed it to the wheels.
engine.throttle = 1f;
wheels.torque = engine.engineTorque;