PxGetBroadPhaseDynamicFilterGroup

Defined in include/PxBroadPhase.h

PxBpFilterGroup PxGetBroadPhaseDynamicFilterGroup(PxU32 id)

Retrieves a filter group for dynamic objects.

Mark dynamic objects with this group when adding them to the broadphase. Each dynamic object must have an ID, and overlaps between dynamic objects that have the same ID will not be detected. This is useful to dismiss overlaps between shapes of the same (compound) actor directly within the broadphase.

See also

PxBpFilterGroup

Parameters

id – [in] ID/Index of dynamic object

Returns

Filter group for the object.