Public Types | List of all members
PxContactPairFlag Struct Reference

Collection of flags providing information on contact report pairs. More...

#include <PxSimulationEventCallback.h>

Public Types

enum  Enum {
  eREMOVED_SHAPE_0 = (1<<0),
  eREMOVED_SHAPE_1 = (1<<1),
  eDELETED_SHAPE_0 = eREMOVED_SHAPE_0,
  eDELETED_SHAPE_1 = eREMOVED_SHAPE_1,
  eACTOR_PAIR_HAS_FIRST_TOUCH = (1<<2),
  eACTOR_PAIR_LOST_TOUCH = (1<<3),
  eINTERNAL_HAS_FACE_INDICES = (1<<4),
  eINTERNAL_HAS_IMPULSES = (1<<5),
  eINTERNAL_CONTACTS_ARE_FLIPPED = (1<<6)
}
 

Detailed Description

Collection of flags providing information on contact report pairs.

See Also
PxContactPair

Member Enumeration Documentation

Enumerator
eREMOVED_SHAPE_0 

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

eREMOVED_SHAPE_1 

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

eDELETED_SHAPE_0 
Deprecated:
use eREMOVED_SHAPE_0 instead
eDELETED_SHAPE_1 
Deprecated:
use eREMOVED_SHAPE_1 instead
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.
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.

eINTERNAL_HAS_FACE_INDICES 

Internal flag, used by PxContactPair.extractContacts()

For meshes/heightfields the flag indicates that the contact points provide internal triangle index information.

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.

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.


The documentation for this struct was generated from the following file:


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com