I am writing a motocross game using the libgdx java wrapper. The game will be for android but also be playable on the desktop. The problem I am having is when applying torque to the rear wheel to accelerate. The android version performs less physics steps per second than the desktop version so torque is being applied less frequently. This results in a more powerful bike on the desktop. I thought the solution would be to multiply the magnitude of the torque by the delta time but this only made the problem worse. Once I get the torque about right on the desktop the torque is much greater on android. So much so that the bike immediately loops out (does a backflip). I realize that this is the general discussion section but I'm thinking this might be something that everyone developing for cross platform would face. Thanks.
Consistent forces with varying deltaTime
General DiscussionMy simulation always runs at 60Hz. I run as few or as many steps required to keep up with time.
Original thread: https://box2d.org/forum/viewtopic.php?t=5855