1 unstable release
Uses new Rust 2024
| 0.0.1 | Jul 1, 2025 |
|---|
#7 in #bodies
39KB
830 lines
Bonked!
A simple collision engine for retro console development.
Contrary to fully fledge physics engine such as Rapier or Avian, Bonked! only supports basic features such as preventing solid objects to pass through each other. Physics objects are filtered into three categories:
- Kinematic bodies which are intended to move over time.
- Static bodies which should not move at all.
- Trigger areas which can trigger events when kinematic bodies pass through them.
The library also support a few queries:
- Raycasts against solid bodies.
Shapecasts against solid bodies.Pointcasts against trigger areas.
Dependencies
~3.5–6.5MB
~123K SLoC