PxContactPairFlag

Defined in include/PxSimulationEventCallback.h

struct PxContactPairFlag

Collection of flags providing information on contact report pairs.

See also

PxContactPair

Public Types

enum Enum

Values:

enumerator eREMOVED_SHAPE_0

The shape with index 0 has been removed from the actor/scene.

enumerator eREMOVED_SHAPE_1

The shape with index 1 has been removed from the actor/scene.

enumerator eACTOR_PAIR_HAS_FIRST_TOUCH

First actor pair contact.

The provided shape pair marks the first contact between the two actors, no other shape pair has been touching prior to the current simulation frame.

Note

: This info is only available if PxPairFlag::eNOTIFY_TOUCH_FOUND has been declared for the pair.

enumerator eACTOR_PAIR_LOST_TOUCH

All contact between the actor pair was lost.

All contact between the two actors has been lost, no shape pairs remain touching after the current simulation frame.

enumerator eINTERNAL_HAS_IMPULSES

Internal flag, used by PxContactPair.extractContacts()

The applied contact impulses are provided for every contact point. This is the case if PxPairFlag::eSOLVE_CONTACT has been set for the pair.

enumerator eINTERNAL_CONTACTS_ARE_FLIPPED

Internal flag, used by PxContactPair.extractContacts()

The provided contact point information is flipped with regards to the shapes of the contact pair. This mainly concerns the order of the internal triangle indices.