|
| | PX_ALIGN (16, PxVec3 normal) |
| | The normal of the contacting surfaces at the contact point.
|
| |
|
| PX_ALIGN (16, PxVec3 point) |
| | The point of contact between the shapes, in world space.
|
| |
|
| PX_ALIGN (16, PxVec3 targetVel) |
| |
|
|
PxReal | separation |
| | The separation of the shapes at the contact point. A negative separation denotes a penetration.
|
| |
|
PxReal | maxImpulse |
| | The max impulse permitted at this point.
|
| |
|
PxReal | staticFriction |
| | The static friction coefficient.
|
| |
| PxU8 | materialFlags |
| | Material flags for this contact (eDISABLE_FRICTION, eDISABLE_STRONG_FRICTION).
|
| |
| PxU32 | internalFaceIndex1 |
| | The surface index of shape 1 at the contact point. This is used to identify the surface material.
|
| |
|
PxReal | dynamicFriction |
| | The dynamic friction coefficient.
|
| |
|
PxReal | restitution |
| | The restitution coefficient.
|
| |
|
PxReal | damping |
| |
◆ PX_ALIGN()
| physx::PxContactPoint::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.
◆ internalFaceIndex1
| PxU32 physx::PxContactPoint::internalFaceIndex1 |
The surface index of shape 1 at the contact point. This is used to identify the surface material.
- Note
- This field is only supported by triangle meshes and heightfields, else it will be set to PXC_CONTACT_NO_FACE_INDEX.
-
This value must be directly after internalFaceIndex0 in memory
◆ materialFlags
| PxU8 physx::PxContactPoint::materialFlags |
Material flags for this contact (eDISABLE_FRICTION, eDISABLE_STRONG_FRICTION).
- See also
- PxMaterialFlag
The documentation for this struct was generated from the following file: