The demo car in my Minetest Vehicles mod can accelerate, so far so good. But it won’t slow down on its own because of Newton’s first law of motion, due to the lack of resisting forces, namely:
- Rolling Resistance
- Aerodynamic drag
- Engine brake
To make a vehicle slow down, we need to apply all of these resisting forces. This article discusses what rolling resistance is, how it’s calculated and how it’s implemented in the mod itself.