PBDynamics is a simple physics engine based on Position Based Dynamics. It is written in C++ and uses OpenGL for rendering.
mkdir build
sudo bash ./build.sh -c
./PBDynamics
- Press
space
to start the simulation - Press
q
to enable and disable the camera movement - Move the camera using
w
,a
,s
,d
- Press
ctrl
to exit the simulation
- Fix orthographic projection