This package provides a purely functional 2D physics library with composable high-level abstractions.
- 100% pure implementation
- deterministic simulation (replayable regardless of sampling rate)
- convex colliders
- collision layers
- extremely naive collision resolution
- other collider shapes: concave, round, half-plane
- spatial hashing for more efficient collision detection
- object deactivation
- support for raycasting
- serialisation of physics state
- combinators on dynamic worlds
- constraints
- friction
- stacking
- a scene graph-based interface to define the world in a compact manner