Skip to content

WIP: Separating collision system into multiple groups #3254

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tobbi
Copy link
Member

@tobbi tobbi commented May 1, 2025

Here's something that I've been thinking about: Instead of iterating over all objects, we could group the possible objects together, depending on what type of collision group they have and then only iterate over those matching the collision group we care about.

I don't honestly know how much faster this is. All I know is: It crashes. It crashes all the time. And I have no idea why.

So, if anyone wants to check this out and submit fixes to this PR, feel free.

Also, terminology-wise: collision part and collision bucket are the same thing.

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

Successfully merging this pull request may close these issues.

1 participant