Hello, I’m trying to simulate car physics and I wanna simulate many things but, I don’t know how I simulate differential gear. Please help me. ( Forexample, I wanna simulate LSD, Lock)

That utterly depends on the design of your car dynamics simulation, so implementations may vary greatly.

An open differential splits the torque 50-50 to each wheel, so this calculation is easy. For example, here’s the implementation of an open differential in Vehicle Physics Pro:

Other differential types also establish a “connection” between the wheels depending on different conditions:

- The locked differential enforces both wheels to rotate at the same exact angular velocity, independently of the input torque.
- The LSD differential can be simulated as a “clutch” between both wheels, where the locking torque of the clutch depends on the torque at the input of the differential.
- In torque-bias differentials (i.e. Torsen) the input torque is biased among outputs proportionally to the output with less resistance.

Again, the specific implementation depends on the design of your dynamics simulation. Some designs solve the equations of the entire powertrain as a whole (as in the popular car physics article from Marco Monster), while others implement a modular approach where each part is solved individually (as in Vehicle Physics Pro).

1 Like

Thank you! I’m gonna try this