PxPairFilteringMode Struct Reference

#include <PxFiltering.h>

Public Types

enum  Enum { eKEEP, eSUPPRESS, eKILL, eDEFAULT = eSUPPRESS }
 

Member Enumeration Documentation

◆ Enum

Enumerator
eKEEP 

Output pair from BP, potentially send to user callbacks, create regular interaction object.

Enable contact pair filtering between kinematic/static or kinematic/kinematic rigid bodies.

By default contacts between these are suppressed (see PxFilterFlag::eSUPPRESS) and don't get reported to the filter mechanism. Use this mode if these pairs should go through the filtering pipeline nonetheless.

Note
This mode is not mutable, and must be set in PxSceneDesc at scene creation.
eSUPPRESS 

Output pair from BP, create interaction marker. Can be later switched to regular interaction.

eKILL 

Don't output pair from BP. Cannot be later switched to regular interaction, needs "resetFiltering" call.

eDEFAULT 

Default is eSUPPRESS for compatibility with previous PhysX versions.


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