#include <GuContactPoint.h>
Public Member Functions | |
PX_ALIGN (16, PxVec3 normal) | |
The normal of the contacting surfaces at the contact point. More... | |
PX_ALIGN (16, PxVec3 point) | |
The point of contact between the shapes, in world space. More... | |
PX_ALIGN (16, PxVec3 targetVel) | |
Public Attributes | |
PxReal | separation |
The separation of the shapes at the contact point. A negative separation denotes a penetration. More... | |
PxReal | maxImpulse |
The max impulse permitted at this point. More... | |
PxReal | staticFriction |
The static friction coefficient. More... | |
PxU8 | materialFlags |
Material flags for this contact (eDISABLE_FRICTION, eDISABLE_STRONG_FRICTION). More... | |
PxU16 | forInternalUse |
internal structure used for internal use only More... | |
PxU32 | internalFaceIndex1 |
The surface index of shape 1 at the contact point. This is used to identify the surface material. More... | |
PxReal | dynamicFriction |
The dynamic friction coefficient. More... | |
PxReal | restitution |
The restitution coefficient. More... | |
physx::Gu::ContactPoint::PX_ALIGN | ( | 16 | , |
PxVec3 | normal | ||
) |
The normal of the contacting surfaces at the contact point.
For two shapes s0 and s1, the normal points in the direction that s0 needs to move in to resolve the contact with s1.
physx::Gu::ContactPoint::PX_ALIGN | ( | 16 | , |
PxVec3 | point | ||
) |
The point of contact between the shapes, in world space.
physx::Gu::ContactPoint::PX_ALIGN | ( | 16 | , |
PxVec3 | targetVel | ||
) |
PxReal physx::Gu::ContactPoint::dynamicFriction |
The dynamic friction coefficient.
PxU16 physx::Gu::ContactPoint::forInternalUse |
internal structure used for internal use only
Referenced by physx::Gu::ContactBuffer::contact().
PxU32 physx::Gu::ContactPoint::internalFaceIndex1 |
The surface index of shape 1 at the contact point. This is used to identify the surface material.
Referenced by physx::Gu::ContactBuffer::contact().
PxU8 physx::Gu::ContactPoint::materialFlags |
Material flags for this contact (eDISABLE_FRICTION, eDISABLE_STRONG_FRICTION).
PxReal physx::Gu::ContactPoint::maxImpulse |
The max impulse permitted at this point.
PxReal physx::Gu::ContactPoint::restitution |
The restitution coefficient.
PxReal physx::Gu::ContactPoint::separation |
The separation of the shapes at the contact point. A negative separation denotes a penetration.
Referenced by physx::Gu::ContactBuffer::contact().
PxReal physx::Gu::ContactPoint::staticFriction |
The static friction coefficient.