Using joints
The last major feature of Box2D we have yet to investigate is joints. Joints allow us to link objects to create simple machines like pulleys, levers, and simple motors.
In this recipe, we will learn how to create a simple seesaw using a joint.