#include <PxSimulationEventCallback.h>
Public Attributes | |
PxVec3 | position |
The position of the contact point between the shapes, in world space. | |
PxReal | separation |
The separation of the shapes at the contact point. A negative separation denotes a penetration. | |
PxVec3 | normal |
The normal of the contacting surfaces at the contact point. The normal direction points from the second shape to the first shape. | |
PxU32 | internalFaceIndex0 |
The surface index of shape 0 at the contact point. This is used to identify the surface material. | |
PxVec3 | impulse |
The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value. | |
PxU32 | internalFaceIndex1 |
The surface index of shape 1 at the contact point. This is used to identify the surface material. |
The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value.
Referenced by PxContactPair::extractContacts().
The surface index of shape 0 at the contact point. This is used to identify the surface material.
Referenced by PxContactPair::extractContacts().
The surface index of shape 1 at the contact point. This is used to identify the surface material.
Referenced by PxContactPair::extractContacts().
The normal of the contacting surfaces at the contact point. The normal direction points from the second shape to the first shape.
Referenced by PxContactPair::extractContacts().
The position of the contact point between the shapes, in world space.
Referenced by PxContactPair::extractContacts().
The separation of the shapes at the contact point. A negative separation denotes a penetration.
Referenced by PxContactPair::extractContacts().