implement rudimentary contact callback. Does PhysX have a way to report ALL contact points, every frame, so we can update contact forces etc, and report all contacts?
This commit is contained in:
@@ -796,6 +796,8 @@ btTransform ConvertURDF2PhysXInternal(
|
||||
//todo: mem leaks
|
||||
MyPhysXUserData* userData = new MyPhysXUserData();
|
||||
userData->m_graphicsUniqueId = graphicsIndex;
|
||||
userData->m_bodyUniqueId = u2b.getBodyUniqueId();
|
||||
userData->m_linkIndex = mbLinkIndex;
|
||||
linkPtr->userData = userData;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user