A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Cannos » Wed Dec 21, 2016 8:25 pm
NewtonMaterialGetContactFaceAttribute() always return 0, even for CollisionTrees. I guess this function is deprecated now? I just wanted to make sure this was intentional before looking for an alternative for this functionality.
- Code: Select all
unsigned NewtonMaterialGetContactFaceAttribute(const NewtonMaterial* const materialHandle)
{
TRACE_FUNCTION(__FUNCTION__);
// dgContactMaterial* const material = (dgContactMaterial*) materialHandle;
dgAssert (0);
// return (unsigned) ((dgContactMaterial*) materialHandle->m_userId);
return 0;
}
-
Cannos
-
- Posts: 129
- Joined: Thu Mar 04, 2010 5:41 pm
by Julio Jerez » Wed Dec 21, 2016 10:10 pm
not is not deprecated. there has been many changes on the collision system, is possible is busted.
I'll check it out tonight.
In order to support soft bodies, I has to change the NewtonMesh, so that is support vertex weights.
The format was to simple. this has caused many feature to break because they internally use Newton Mesh to optimized shapes geometries. I am in the process to re enabling all the functionality again I am almost done, just a couple of more features.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Cannos » Thu Dec 22, 2016 8:16 pm
Thanks for looking at it. It's not an urgent need for me right now, but I imagine it would be nice to get this functionality back.
-
Cannos
-
- Posts: 129
- Joined: Thu Mar 04, 2010 5:41 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 23 guests