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

bullet 2.82 invalid normal direction on collision/sweep test #182

Open
shelomentsev opened this issue May 29, 2014 · 4 comments
Open

bullet 2.82 invalid normal direction on collision/sweep test #182

shelomentsev opened this issue May 29, 2014 · 4 comments

Comments

@shelomentsev
Copy link

@shelomentsev shelomentsev commented May 29, 2014

Sweep test vs btBvhTriangleMeshShape on some triangles returns normal in opositional direction.
I start digging this issue, I also found that collision boxes fall through that triangles(invalid contact normal).
If I change position one of triangle vertex then sweep return valid normal(same as box contact normal)
Here is source code tho show that issues(modified BasicDemo)
https://github.com/shelomentsev/bullet2_bug

@antarespilot
Copy link
Contributor

@antarespilot antarespilot commented Jun 2, 2014

I've having this problem as well. Boxes falls through about half of my triangles.

It works using 2.81, but not with 2.82. This is a rather serious regression I would say.

@erwincoumans
Copy link
Member

@erwincoumans erwincoumans commented Jun 2, 2014

It should be fixed in latest github revision, did you try it?

@antarespilot
Copy link
Contributor

@antarespilot antarespilot commented Jun 2, 2014

Hi, just did, and everything works fine again. :-) Tested using double-precision-mode.

I had not tried compiling from this repo in a while (using Linux), great to see all the things that have happened here during the last month or so.

@shelomentsev
Copy link
Author

@shelomentsev shelomentsev commented Jun 2, 2014

I just did too, bug not fixed.
If I set m_fixContactNormalDirection = 0, it fix bug

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.