Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by Bird » Sat Nov 10, 2018 8:08 am
Hi Julio,
The "Primitive convex cast" demo crashes in Release mode while dragging the sphere off the ramp with the RMB. If you run this demo in Debug mode, an assert fails on line 205 of DgWorldDynamicUpdate.cpp
I'm using the very latest version on github.
-Bird
-
Bird
-
- Posts: 623
- Joined: Tue Nov 22, 2011 1:27 am
by Julio Jerez » Sat Nov 10, 2018 12:46 pm
oh another ripple from the last optimizations, is fixed now.
please try again
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Bird » Sat Nov 10, 2018 8:09 pm
That fixed the assert but the demo still crashes when you drag the sphere onto the convex shapes on the ground.
Crash is in line 3121 of Newton.cpp in NewtonUserMeshCollisionContinuousOverlapTest(). Looks like minAabb is coming in as a nullptr.
-
Bird
-
- Posts: 623
- Joined: Tue Nov 22, 2011 1:27 am
by Julio Jerez » Mon Nov 12, 2018 3:37 pm
oh yes it was a data aliment mismatch between NewtonUserMeshCollisionCollideDesc and dgPolygonMeshDesc, I added a member to the base class when I rewrote the broad phase
to use shape closest distance instead of obb test and that offset the other members.
It is fixed now, please sync and try again.
thanks for the bug report.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Bird » Mon Nov 12, 2018 5:00 pm
Fixed. Thanks!
I found another problem. The "Scaled mesh collision" demo crashes on startup. The crash is on line 1054 of PhysicsUtils.cpp because of a nullptr.
-
Bird
-
- Posts: 623
- Joined: Tue Nov 22, 2011 1:27 am
by Julio Jerez » Mon Nov 12, 2018 6:31 pm
fixed,
thanks
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 7 guests