|
RavEngine
|
Header for a contact patch where all points share same material and normal. More...
#include <PxContact.h>
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) | |
| Modifiers for scaling the inertia of the involved bodies. | |
| PX_ALIGN (16, PxVec3 normal) | |
| Contact normal. | |
Public Attributes | |
| PxReal | restitution |
| Restitution coefficient. | |
| PxReal | dynamicFriction |
| Dynamic friction coefficient. | |
| PxReal | staticFriction |
| Static friction coefficient. | |
| PxReal | damping |
| Damping coefficient (for compliant contacts) | |
| PxU16 | startContactIndex |
| Index of the first contact in the patch. | |
| PxU8 | nbContacts |
| The number of contacts in this patch. | |
| PxU8 | materialFlags |
| The combined material flag of two actors that come in contact. | |
| PxU16 | internalFlags |
| The PxContactPatchFlags for this patch. | |
| PxU16 | materialIndex0 |
| Material index of first body. | |
| PxU16 | materialIndex1 |
| Material index of second body. | |
| PxU16 | pad [5] |
Header for a contact patch where all points share same material and normal.
| PxU8 physx::PxContactPatch::materialFlags |
The combined material flag of two actors that come in contact.