PxContactPatch Struct Reference

Header for contact patch where all points share same material and normal. More...

#include <PxContact.h>

List of all members.

Public Types

enum  PxContactPatchFlags {
  eHAS_FACE_INDICES = 1,
  eMODIFIABLE = 2,
  eFORCE_NO_RESPONSE = 4,
  eHAS_MODIFIED_MASS_RATIOS = 8,
  eHAS_TARGET_VELOCITY = 16,
  eHAS_MAX_IMPULSE = 32,
  eREGENERATE_PATCHES = 64,
  eCOMPRESSED_MODIFIED_CONTACT = 128
}

Public Member Functions

 PX_ALIGN (16, PxMassModificationProps mMassModification)
 PX_ALIGN (16, PxVec3 normal)
 Contact normal.

Public Attributes

PxReal restitution
 Restitution coefficient.
PxReal dynamicFriction
PxReal staticFriction
PxU8 startContactIndex
PxU8 nbContacts
PxU8 materialFlags
PxU8 internalFlags
PxU16 materialIndex0
PxU16 materialIndex1


Detailed Description

Header for contact patch where all points share same material and normal.

Member Enumeration Documentation

Enumerator:
eHAS_FACE_INDICES  Indicates this contact stream has face indices.
eMODIFIABLE  Indicates this contact stream is modifiable.
eFORCE_NO_RESPONSE  Indicates this contact stream is notify-only (no contact response).
eHAS_MODIFIED_MASS_RATIOS  Indicates this contact stream has modified mass ratios.
eHAS_TARGET_VELOCITY  Indicates this contact stream has target velocities set.
eHAS_MAX_IMPULSE  Indicates this contact stream has max impulses set.
eREGENERATE_PATCHES  This is required if the application modified either the contact normal or the material properties.

Indicates this contact stream needs patches re-generated.

eCOMPRESSED_MODIFIED_CONTACT 


Member Function Documentation

PxContactPatch::PX_ALIGN ( 16  ,
PxVec3  normal 
)

Contact normal.

PxContactPatch::PX_ALIGN ( 16  ,
PxMassModificationProps  mMassModification 
)


Member Data Documentation

Restitution coefficient.


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


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