PxControllerFilterCallback Class Referenceabstract

Dedicated filtering callback for CCT vs CCT. More...

#include <PxController.h>

Public Member Functions

virtual ~PxControllerFilterCallback ()
 
virtual bool filter (const PxController &a, const PxController &b)=0
 Filtering method for CCT-vs-CCT. More...
 

Detailed Description

Dedicated filtering callback for CCT vs CCT.

This controls collisions between CCTs (one CCT vs anoter CCT).

To make each CCT collide against all other CCTs, just return true - or simply avoid defining a callback. To make each CCT freely go through all other CCTs, just return false. Otherwise create a custom filtering logic in this callback.

See also
PxControllerFilters

Constructor & Destructor Documentation

◆ ~PxControllerFilterCallback()

virtual PxControllerFilterCallback::~PxControllerFilterCallback ( )
inlinevirtual

Member Function Documentation

◆ filter()

virtual bool PxControllerFilterCallback::filter ( const PxController a,
const PxController b 
)
pure virtual

Filtering method for CCT-vs-CCT.

Parameters
[in]aFirst CCT
[in]bSecond CCT
Returns
true to keep the pair, false to filter it out

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