ReactPhysics3D
v0.10.2
C++ Physics engine library
|
This structure contains collision info about the last frame. More...
#include <include/reactphysics3d/engine/OverlappingPairs.h>
Public Member Functions | |
LastFrameCollisionInfo () | |
Constructor. | |
Public Attributes | |
bool | isValid |
True if we have information about the previous frame. | |
bool | isObsolete |
True if the frame info is obsolete (the collision shape are not overlapping in middle phase) | |
bool | wasColliding |
True if the two shapes were colliding in the previous frame. | |
bool | wasUsingGJK |
True if we were using GJK algorithm to check for collision in the previous frame. | |
bool | wasUsingSAT |
True if we were using SAT algorithm to check for collision in the previous frame. | |
Vector3 | gjkSeparatingAxis |
Previous separating axis. | |
bool | satIsAxisFacePolyhedron1 |
bool | satIsAxisFacePolyhedron2 |
uint8 | satMinAxisFaceIndex |
uint8 | satMinEdge1Index |
uint8 | satMinEdge2Index |
This structure contains collision info about the last frame.
This is used for temporal coherence between frames.