RavEngine
Loading...
Searching...
No Matches
physx::PxGroupsMask Class Reference

64-bit mask used for collision filtering. More...

#include <PxDefaultSimulationFilterShader.h>

Public Attributes

PxU16 bits0
 
PxU16 bits1
 
PxU16 bits2
 
PxU16 bits3
 

Detailed Description

64-bit mask used for collision filtering.

The collision filtering equation for 2 objects o0 and o1 is:

 (G0 op0 K0) op2 (G1 op1 K1) == b 

with

  • G0 = PxGroupsMask for object o0. See PxSetGroupsMask
  • G1 = PxGroupsMask for object o1. See PxSetGroupsMask
  • K0 = filtering constant 0. See PxSetFilterConstants
  • K1 = filtering constant 1. See PxSetFilterConstants
  • b = filtering boolean. See PxSetFilterBool
  • op0, op1, op2 = filtering operations. See PxSetFilterOps

If the filtering equation is true, collision detection is enabled.

See also
PxSetFilterOps()

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