flame-engine / flame-engine/flame
Flame needs a more complete minimal physics engine
- Dominant language
- Dart
- Stars
- 10.8k
- Forks
- 1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 21
Description
### Problem to solve
There is no physics engine that available for Flame that has enough features to make implementing platformer physics easy.
### Proposal
Flame needs a physics engine akin to [bump.lua](https://github.com/kikito/bump.lua). That implements moving objects and performing [slide, cross, bounce, touch] reactions when moving an AABB from one spot to another. This is not available with Flame's built in collision detection and bringing in box2d is overkill and not good for many types of games (like platformers). FWIW I tried to leverage the existing collision detection system to implement `slide` and I came to the conclusion it would just be easier to implement my own physics.
Wishlist:
- slide collisions (like bump.lua's `move` with `"slide"`)
- rectangle casting (like bump.lua's `check`)
### More information
_No response_
### Other
- [ ] Are you interested in working on a PR for this?
Contributor guide
Assessment
This issue has not been assessed yet.