Box2D
Box2D is a 2D physics engine for games
Box2D is an open-source, high-performance 2D physics engine designed for games and interactive simulations. Written in portable C17, it simulates rigid bodies, collisions, gravity, and physical constraints. The engine supports circles, capsules, polygons, rounded shapes, segments, and connected chains. Continuous collision detection improves accuracy when objects move or rotate rapidly. Developers can construct mechanical systems using revolute, prismatic, distance, motor, weld, and wheel joints. ...