-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Assert crash in GJK code #24
Comments
Raycast class header:
Raycast class implementation:
|
Has anyone found out what exactly causes this yet? |
I am currently working on the next version of the library that I expect to release this summer. I have refactored a lot of the collision detection code in order to make it faster and more robust. I also expect to fix this issue for this release. |
I will try to fix this issue. However, this issue has been created about the bug happening in GJK algorithm during ray casting against a capsule shape but GJK is not used for ray casting with capsule shape. In the trace, it seams to happen during ray casting against a convex mesh instead. Do you also observe this issue during ray casting ? Against which kind of shape? |
This issue should now be fixed in the version v0.7.0 of ReactPhysics3D that has been released. |
EDIT: Forgot to add: This is on the master branch. Currently testing develop
EDIT 2: Fails on develop as well. I am also raycasting every frame. Code that does raycasting on comment below.
There is a crash that occurs once in a while, usually after about a minute. I isolated it to the GJK code. Body's shape is a capsule.
Here is gdb output:
Here is a backtrace:
Full backtrace:
The text was updated successfully, but these errors were encountered: