PxControllerFilterCallback Class Reference
[Character]

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

#include <PxController.h>

List of all members.

Public Member Functions

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


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

virtual PxControllerFilterCallback::~PxControllerFilterCallback (  )  [inline, virtual]


Member Function Documentation

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

Filtering method for CCT-vs-CCT.

Parameters:
[in] a First CCT
[in] b Second CCT
Returns:
true to keep the pair, false to filter it out


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


Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com