Physics Engine

A rigid body physics engine I wrote for my Game Physics course at Champlain College. It is based off of the book Game Physics and Engine Development.

In this demo I am simulating rigidbody cubes with the size and mass of the Earth’s moon. White cubes are not colliding, green cubes were identified by broad phase collision detection but were not colliding, and red cubes are colliding.