PxControllerFilterCallback

Defined in include/characterkinematic/PxController.h

class PxControllerFilterCallback

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.

Public Functions

inline virtual ~PxControllerFilterCallback()
virtual bool filter(const PxController &a, const PxController &b) = 0

Filtering method for CCT-vs-CCT.

Parameters
  • a[in] First CCT

  • b[in] Second CCT

Returns

true to keep the pair, false to filter it out