Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by JoshKlint » Wed Apr 10, 2019 2:29 pm
The user info value in NewtonCreateUserMeshCollision is no longer being passed to the callback in the collideDescData->m_userData parameter. This change happened recently, as it only started happening with my latest build. m_userData is now always NULL.
-
JoshKlint
-
- Posts: 163
- Joined: Sun Dec 10, 2017 8:03 pm
-
by JoshKlint » Wed Apr 10, 2019 2:37 pm
The error may be occurring in NewtonCollisionCreateInstance(), since this is called in an intermediate step.
-
JoshKlint
-
- Posts: 163
- Joined: Sun Dec 10, 2017 8:03 pm
-
by Julio Jerez » Wed Apr 10, 2019 3:09 pm
what data structure is the descriptor? and what is the callblack prototype.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by JoshKlint » Wed Apr 10, 2019 3:31 pm
- Code: Select all
void VegetationLayer::CollideCallback(NewtonUserMeshCollisionCollideDesc* const collideDescData, const void* const continueCollisionHandle)
-
JoshKlint
-
- Posts: 163
- Joined: Sun Dec 10, 2017 8:03 pm
-
by JoshKlint » Thu Apr 11, 2019 2:11 pm
I think the NewtonUserMeshCollisionCollideDesc structure is out of sync with the data being passed to it in the callback. The userdata value is there, just not in the right place.
-
JoshKlint
-
- Posts: 163
- Joined: Sun Dec 10, 2017 8:03 pm
-
by Julio Jerez » Thu Apr 11, 2019 4:03 pm
yes, you may be right, I have not check it, I am very busy this week, I will check it out this Saturday.
if you can determine the cause go a head do it, if no I do it over the weekend.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by JoshKlint » Sat Apr 13, 2019 11:57 pm
It's Saturday.
-
JoshKlint
-
- Posts: 163
- Joined: Sun Dec 10, 2017 8:03 pm
-
by Julio Jerez » Mon Apr 15, 2019 2:23 pm
Ok fixed,
I though you had a work around.
-
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 19 guests