Just went to Disney world and rode the Tron ride there. Made this look like it, why not? ⭐ Turbowarp makes this project very satisfying: https://turbowarp.org/868069612?fps=60&hqpen Controls (shown in the project): • Left/right arrow or A/D: move car • Press mouse: add terrain • Hold enter and press mouse: remove terrain • Space: lock car position • R: reset simulation ⭐ If people show enough interest in this project, I'll make another simulation with a custom car editor. Here is a very similar simulation I made in JavaScript: https://replit.com/@PyGrammer5/Car-Physics?v=1 Algorithm explanation: This project uses Verlet integration. There are two constraints: the wheels must stay a fixed distance apart, and the wheels must not intersect the tangents of the ground.
Thanks to Dinosu and Turbowarp