Box2D Lite is an open-source, lightweight 2D physics engine created by Erin Catto for the 2006 Game Developers Conference physics tutorial. It represents the original foundation of the larger Box2D physics engine. The project focuses on explaining the essential mathematics and algorithms behind rigid body simulation. Developers can study collision detection, contact resolution, friction, and iterative constraint solving through compact C++ source code. Its simplified implementation makes individual physics operations easier to understand and modify. The repository includes example simulations demonstrating interactions between rectangular bodies. CMake-based build scripts support compilation across development environments. Box2D Lite is primarily an educational reference for game physics rather than a replacement for the full Box2D library.
Features
- Lightweight 2D Rigid Body Physics Engine
- Educational Collision Detection Implementation
- Iterative Contact Constraint Solving
- Friction and Impulse-Based Collision Response
- Interactive Physics Simulation Examples
- CMake-Based Cross-Platform Build Support