Skip to content

Fix one-way collision for already colliding bodies #106105

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

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

Conversation

DinkeyKing
Copy link
Contributor

@DinkeyKing DinkeyKing commented May 5, 2025

Fixes #106103
Removed the condition that required bodies to not have collided before, in order to check for one-way collisions.
I'm not sure what is the purpose of that condition, but removing it fixes the issue and it doesn't look like it breaks anything.
Before:

one-way.mp4

After:
one-way2.mp4

@DinkeyKing DinkeyKing requested a review from a team as a code owner May 5, 2025 20:39
@AThousandShips AThousandShips self-assigned this May 6, 2025
@AThousandShips AThousandShips added bug topic:physics topic:2d cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels May 6, 2025
@AThousandShips AThousandShips added this to the 4.5 milestone May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release topic:physics topic:2d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

One-way collision doesn't work for already colliding bodies
2 participants