PxGetGroupCollisionFlag

Defined in include/extensions/PxDefaultSimulationFilterShader.h

bool PxGetGroupCollisionFlag(const PxU16 group1, const PxU16 group2)

Determines if collision detection is performed between a pair of groups.

Note

Collision group is an integer between 0 and 31.

Parameters
  • group1[in] First Group

  • group2[in] Second Group

Returns

True if the groups could collide