PxSetGroupCollisionFlag

Defined in include/extensions/PxDefaultSimulationFilterShader.h

void PxSetGroupCollisionFlag(const PxU16 group1, const PxU16 group2, const bool enable)

Specifies if collision should be performed by a pair of groups.

Note

Collision group is an integer between 0 and 31.

Parameters
  • group1[in] First Group

  • group2[in] Second Group

  • enable[in] True to enable collision between the groups