1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

How to get torque value from RPM?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by da_niche, Dec 29, 2022.

  1. da_niche

    da_niche
    Expand Collapse

    Joined:
    Jan 23, 2017
    Messages:
    16
    I know there's a function in combustionEngine.jbeam called getTorqueData & I know how to get maxTorque, maxTorqueRPM and also the power equivalent.

    Example code to get maxTorque:
    local engineTorqueData = engine:getTorqueData()
    local maxTorque = engineTorqueData.maxTorque


    How do I get torque value from RPM? Also, if the engine has a turbo, how do I get torque for N/A and turbo?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice