A simple 2D rigid body physics simulation.
This program is a 2D physics simulation, inspired by the Rigid Body Dynamics Tutorial by Chris Hecker
The program simulates a freely movable two dimensional cube which hangs on two ropes. The end of one rope can be moved around using the mouse.
The two ropes can be toggled on or off. If you set them to off, the cube will fall to the ground in a physically accurate way.
- Arrow keys / Mouse: Move position of the left rope
- Y: Toggle left rope
- X: Toggle right rope
- G: Toggle gravity