PxContactPatch Struct Reference
Header for 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) | |
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:
Member Function Documentation
PxContactPatch::PX_ALIGN | ( | 16 | , | |
PxVec3 | normal | |||
) |
Contact normal.
PxContactPatch::PX_ALIGN | ( | 16 | , | |
PxMassModificationProps | mMassModification | |||
) |
Member Data Documentation
Referenced by PxContactSet::getInternalFaceIndex1(), PxContactStreamIterator::PxContactStreamIterator(), PxContactSet::setDynamicFriction(), PxContactSet::setInvInertiaScale0(), PxContactSet::setInvInertiaScale1(), PxContactSet::setInvMassScale0(), PxContactSet::setInvMassScale1(), PxContactSet::setMaxImpulse(), PxContactSet::setNormal(), PxContactSet::setRestitution(), PxContactSet::setStaticFriction(), and PxContactSet::setTargetVelocity().
PxReal PxContactPatch::restitution |
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