
A physics simulation of a wrecking ball, written in C++ with NVIDIA PhysX. You drive a mobile crane, modelled on the Caterpillar 324E excavator, and swing its wrecking ball into a wall built from destructible pieces until it comes down.
- A player-controlled crane: drive the base and rotate the chassis and arm independently to line up each swing
- A destructible wall of PhysX rigid bodies that collapses realistically under impact
- Swing the ball, or ram the wall directly for a different kind of hit
- A camera that follows the crane around the site
- A win condition: the level is complete once 60% of the wall is destroyed
▶ Watch the demo Source on GitHub
Video
Swinging the ball through the wall, from my submission video
Gallery

The crane lining up a swing, with the level’s setup log on the left
📝 Read the devlog: how it was built and what I learned.