A 2D (maybe 3D in the future) Iterative, Impulse-Based Physics engine based on the "Game Physics Engine Development: How to Build a Robust Commercial-Grade Physics Engine for Your Game" Book by Ian Millington
The engine is obviously not meant for production usage, it's a toy I wrote to help me understand how physics engines work! I wrote this way back and recently tranasfered the code from dropbox and introduced cmake.
- Various Force Generators: Springs, linear forces etc
- Particles (Collisions)
- Polygons (No Collisions yet)
- Joints (fixed, spring etc.)
- install Armadillo (Maths engine) using cmake
- install Allegro (Graphics for visualisation) using cmake
- run
mkdir build; cd build; cmake ..
in the repo's root directory
see main.cpp for a demo