Ro-Physics is a 2D rigid-body physics engine written from scratch in Rust, shipped alongside an interactive WGPU testbed (crates/ro_demo).
It handles convex polygon collisions via Separating Axis Theorem (SAT) plus circle primitives, resolves contacts and friction with a sequential impulse solver, and supports distance, revolute, and motor joints. Fast projectiles use swept continuous collision detection (CCD) so they do not pass through thin walls, settled bodies go to sleep automatically, and a bounding volume hierarchy (BVH) speeds up broadphase pairs as well as point, AABB, and raycast queries.
Read Building a 2D rigid-body physics engine in Rust or browse the workspace on GitHub.