ReactPhysics3D
v0.10.2
C++ Physics engine library
|
This structure contains informations about a collision contact computed during the narrow-phase collision detection. More...
#include <include/reactphysics3d/collision/ContactPointInfo.h>
Public Attributes | |
Vector3 | normal |
Normalized normal vector of the collision contact in world space. | |
Vector3 | localPoint1 |
Contact point of body 1 in local space of body 1. | |
Vector3 | localPoint2 |
Contact point of body 2 in local space of body 2. | |
decimal | penetrationDepth |
Penetration depth of the contact. | |
This structure contains informations about a collision contact computed during the narrow-phase collision detection.
Those informations are used to compute the contact set for a contact between two bodies.