-
Notifications
You must be signed in to change notification settings - Fork 86
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
Differences to original box2d #75
Comments
It looks like it's an older version of b2FindMaxSeparation; I must have missed that when porting one of the releases. Thanks for letting me know. Let me know if you find anything else. |
Here's something that seems completely off: Your b2AABB.Contains method:
Box2d Contains method:
This seems to be the exact opposite. |
You're right; fixed. Again, thanks for finding these. |
Is the difference intended in b2ContactFilter.ShouldCollide? |
Yes; it allows for reporting collisions between kinematic bodies (enabled by default). It's functionally the same, it just brings the body type check into the contact filter. I brought this up with Erin, but he decided against merging it upstream. erincatto/box2d#349 |
While I'm trying to look for ways to compare the code to original box2d, I noticed a few places, where the logic is quite different (beyond typescript conversion) and I wonder if that is something you rewrote yourself or if that came from the liquidfun project.
For example
b2FindMaxSeparation
differs a lot in implementation.The text was updated successfully, but these errors were encountered: