PxContactRecorder
Defined in include/PxImmediateMode.h
-
class PxContactRecorder
Callback class to record contact points produced by immediate::PxGenerateContacts.
Public Functions
-
virtual bool recordContacts(const PxContactPoint *contactPoints, PxU32 nbContacts, PxU32 index) = 0
Method to record new contacts.
- Parameters
contactPoints – [in] The contact points produced
nbContacts – [in] The number of contact points produced
index – [in] The index of this pair. This is an index from 0-N-1 identifying which pair this relates to from within the array of pairs passed to PxGenerateContacts
- Returns
a boolean to indicate if this callback successfully stored the contacts or not.
-
inline virtual ~PxContactRecorder()
-
virtual bool recordContacts(const PxContactPoint *contactPoints, PxU32 nbContacts, PxU32 index) = 0