XPBD is an approach to solving physics by Matthias Müller (NVIDIA) et al. It uses a relatively straight forward Gauss-Seidel iteration and Newtonian integration to simulate rigid bodies, soft bodies, and fluids.
In this custom game engine, I've implemented the mathematics of the XPBD paper. The engine is written in C++ and uses OpenGL for rendering. It supports rigid body dynamics with a collision resolver.
The game engine, physics code and demo project are open source, and can be found on my personal Github repository. Feel free to play around with the Javascript port of the XPBD physics engine here.



