RavEngine
Loading...
Searching...
No Matches
physx::immediate::PxContactRecorder Class Referenceabstract

Callback class to record contact points produced by immediate::PxGenerateContacts. More...

#include <PxImmediateMode.h>

Public Member Functions

virtual bool recordContacts (const PxContactPoint *contactPoints, const PxU32 nbContacts, const PxU32 index)=0
 Method to record new contacts.
 

Detailed Description

Callback class to record contact points produced by immediate::PxGenerateContacts.

Member Function Documentation

◆ recordContacts()

virtual bool physx::immediate::PxContactRecorder::recordContacts ( const PxContactPoint *  contactPoints,
const PxU32  nbContacts,
const PxU32  index 
)
pure virtual

Method to record new contacts.

Parameters
[in]contactPointsThe contact points produced
[in]nbContactsThe number of contact points produced
[in]indexThe 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.

The documentation for this class was generated from the following file: