Public Member Functions | Public Attributes | List of all members
PxControllerFilters Class Reference

Filtering data for "move" call. More...

#include <PxController.h>

Collaboration diagram for PxControllerFilters:
Collaboration graph
[legend]

Public Member Functions

PX_INLINE PxControllerFilters (const PxFilterData *filterData=NULL, PxQueryFilterCallback *cb=NULL, PxControllerFilterCallback *cctFilterCb=NULL)
 

Public Attributes

const PxFilterDatamFilterData
 
PxQueryFilterCallbackmFilterCallback
 Custom filter logic (can be NULL). Passed to PxScene::overlap() call. More...
 
PxQueryFlags mFilterFlags
 Flags for internal PxQueryFilterData structure. Passed to PxScene::overlap() call. More...
 
PxControllerFilterCallbackmCCTFilterCallback
 CCT-vs-CCT filter callback. If NULL, all CCT-vs-CCT collisions are kept. More...
 

Detailed Description

Filtering data for "move" call.

This class contains all filtering-related parameters for the PxController::move() call.

Collisions between a CCT and the world are filtered using the mFilterData, mFilterCallback and mFilterFlags members. These parameters are internally passed to PxScene::overlap() to find objects touched by the CCT. Please refer to the PxScene::overlap() documentation for details.

Collisions between a CCT and another CCT are filtered using the mCCTFilterCallback member. If this filter callback is not defined, none of the CCT-vs-CCT collisions are filtered, and each CCT will collide against all other CCTs.

Note
PxQueryFlag::eANY_HIT and PxQueryFlag::eNO_BLOCK are ignored in mFilterFlags.
See Also
PxController.move() PxControllerFilterCallback

Constructor & Destructor Documentation

PX_INLINE PxControllerFilters::PxControllerFilters ( const PxFilterData filterData = NULL,
PxQueryFilterCallback cb = NULL,
PxControllerFilterCallback cctFilterCb = NULL 
)
inline

Member Data Documentation

PxControllerFilterCallback* PxControllerFilters::mCCTFilterCallback

CCT-vs-CCT filter callback. If NULL, all CCT-vs-CCT collisions are kept.

PxQueryFilterCallback* PxControllerFilters::mFilterCallback

Custom filter logic (can be NULL). Passed to PxScene::overlap() call.

const PxFilterData* PxControllerFilters::mFilterData
            Data for internal PxQueryFilterData structure. Passed to PxScene::overlap() call.

This can be NULL, in which case a default PxFilterData is used.

PxQueryFlags PxControllerFilters::mFilterFlags

Flags for internal PxQueryFilterData structure. Passed to PxScene::overlap() call.


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


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