This is from a talk i saw on simulating realistic car physics in 2d games the formula isn't mine but anyone is allowed to use this code for torque calculation in 2d car games. Description of sliders: a: adjust curve baseline y b: adjust peak magnitude c: adjust end slope d: adjust peak x position f: adjust ends slope
Credits to the original creator of the formula i found it on yt in his BSC 2025 talk “Programming Vehicles in games”.