PxSetGroup

Defined in include/extensions/PxDefaultSimulationFilterShader.h

void PxSetGroup(PxActor &actor, const PxU16 collisionGroup)

Sets which collision group this actor is part of.

See also

PxGetGroup

Note

Collision group is an integer between 0 and 31.

Parameters
  • actor[in] The actor

  • collisionGroup[in] Collision group this actor belongs to