A simple example using the Box2D physics library.
Builds a pyramid out of cubes and allows you to expand or destroy it by adding more. Uses the SceneGraph library directly with Box2D.
- mouse click adds a cube to cursor position
This example was originally contributed by Michal Mikula.
Full source code is linked below and also available in the magnum-examples GitHub repository. This example depends on the Box2D library which you need to install separately; additionally you need to put FindBox2D.cmake into your