SAT and circle collision detection for the browser, built with TypeScript.
| Module | Description |
|---|---|
body |
Rectangle body creation and OBB/AABB adapters |
collision |
SAT and circle collision detection (OBB, AABB, circle) |
geometry |
Corner and projection math |
overlap |
Overlap and containment queries |
types |
Shared collision types |
npm install github:starweb-libs/physicsMIT — see LICENSE for details.