Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for concave hitboxes #2483

Open
DragonMoffon opened this issue Jan 7, 2025 · 1 comment
Open

Add support for concave hitboxes #2483

DragonMoffon opened this issue Jan 7, 2025 · 1 comment

Comments

@DragonMoffon
Copy link
Collaborator

DragonMoffon commented Jan 7, 2025

Arcade currently only supports concave hitboxes through Pymunk. This isn't established anywhere and causes confusing behavior. Especially since the detailed hitbox algorithm creates concave hitboxes.

While some clearer docs and possibly debug warnings would be a start, we should
ideally offer a fast collision test that supports concave hitboxes. This is non-trivial, and might not be viable in pure python.

@pushfoo
Copy link
Member

pushfoo commented Jan 7, 2025

An idea for the 3.X / future releases would be:

  1. Multi-hitbox
  2. Partition hitboxes to ensure all are convex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants