ReactPhysics3D: reactphysics3d::OverlappingPairs::OverlappingPair Struct Reference

| ReactPhysics3D v0.10.2 C++ Physics engine library

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

A base overlapping pair. More...

`#include <include/reactphysics3d/engine/OverlappingPairs.h>`

Inheritance diagram for reactphysics3d::OverlappingPairs::OverlappingPair:

## Public Member Functions
| OverlappingPair (uint64 pairId, int32 broadPhaseId1, int32 broadPhaseId2, Entity collider1, Entity collider2, NarrowPhaseAlgorithmType narrowPhaseAlgorithmType, bool isEnabled)
| Constructor.
virtual | ~OverlappingPair ()=default
| Destructor.

## Public Attributes
uint64 | pairID
| Ids of the convex vs convex pairs.
int32 | broadPhaseId1
| Broad-phase Id of the first shape.
int32 | broadPhaseId2
| Broad-phase Id of the second shape.
Entity | collider1
| Entity of the first collider of the convex vs convex pairs.
Entity | collider2
| Entity of the second collider of the convex vs convex pairs.
bool | needToTestOverlap
| True if we need to test if the convex vs convex overlapping pairs of shapes still overlap.
NarrowPhaseAlgorithmType | narrowPhaseAlgorithmType
| Pointer to the narrow-phase algorithm.
bool | collidingInPreviousFrame
| True if the colliders of the overlapping pair were colliding in the previous frame.
bool | collidingInCurrentFrame
| True if the colliders of the overlapping pair are colliding in the current frame.
bool | isEnabled
| True if at least one body of the pair is awake or not static

## Detailed Description

A base overlapping pair.

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

- include/reactphysics3d/engine/OverlappingPairs.h