About Physics Engine
Features
- Collision detection via SAT (Separating Axis Theorem)
- Gravity and friction simulation
- Tunneling prevention
- Collision response and impulse resolution
- No physics library — built from scratch
A 2D physics engine written in C++ with SDL. Building it from scratch meant learning the maths behind every part of a physics pipeline — from how SAT detects overlap between convex shapes, to why tunneling happens at high speeds and how to stop it.