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

Fix to issue causing incorrect b2ShapeDistance behaviour #22

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

Conversation

MaffDev
Copy link

@MaffDev MaffDev commented Feb 16, 2025

Added a missing .clone() in the b2Simplex2() method used by b2ShapeDistance. It was instead copying the reference from one vertex to another, causing intermittent inaccurate behaviour.

@photonstorm
Copy link
Contributor

Thanks, we've got a huge project launch next week and then we'll do a new Box2D release after that, with these (and other) changes merged in, so please give us a few days to check this before merging.

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.

3 participants