flame
flame copied to clipboard
feat: Add possibility for solid hitboxes
Description
Currently all hitboxes are hollow, this PR adds the possibility for solid hitboxes. When a hitbox is fully enclosed by a solid hitbox the inner hitbox's position will be returned as the intersection point.
Checklist
- [x] The title of my PR starts with a Conventional Commit prefix (
fix:,feat:,docs:etc). - [x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
- [x] I have updated/added tests for ALL new/updated/fixed functionality.
- [x] I have updated/added relevant documentation in
docsand added dartdoc comments with///. - [x] I have updated/added relevant examples in
examples.
Breaking Change
- [x] No, this is not a breaking change.