ReactPhysics3D: reactphysics3d::LastFrameCollisionInfo Struct Reference

| ReactPhysics3D v0.10.2 C++ Physics engine library

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
reactphysics3d::LastFrameCollisionInfo Struct Reference

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

## Detailed Description

This structure contains collision info about the last frame.

This is used for temporal coherence between frames.

The documentation for this struct was generated from the following file:

- include/reactphysics3d/engine/OverlappingPairs.h