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:
erwincoumans
2019-02-20 21:38:37 -08:00
parent adf31c8f64
commit 3bf27cf8f2
5 changed files with 178 additions and 13 deletions

View File

@@ -4,5 +4,7 @@
struct MyPhysXUserData
{
int m_graphicsUniqueId;
int m_bodyUniqueId;
int m_linkIndex;
};
#endif //PHYSX_USER_DATA_H