A simple raycast-based vehicle physics simulation (VibeCar) using Three.js/Cannon.js. Tune parameters live. Automatically attempts to flip if stuck. Added ramps! Hit the trees! Press 'F' to flip manually.
VibeCar is a small driving toy: Three.js draws it, the Cannon physics engine simulates the suspension, the tyres and the weight transfer, so the car behaves rather than follows a path.
One page, no install. By Tront (Trent Sterling).
More from Tront
All games and tools · Devlog · Discord · Source on GitHub · tront.xyz