Lightweight 2D game physics engine.
- Written in C++
- Currently compiling to Emscripten only
- Uses Embind to expose C++ classes and value types to Javascript
- Generates Typescript definitions from Embind declarations
-
Rigid body with motion types
- Dynamic
- Static
- Kinematic
-
Contacts with friction and restitution
-
Collision shapes
- Circle
- Box
- Convex polygon
-
Broadphase and narrowphase collision detection
-
Constraints
- Joint
- Penetration
-
Constraints solver
-
Forces
- Drag
- Friction
- Spring
- Gravitation