B2Pair

From Box2D Wiki

Internal Information

The following text is interesting in case you want to know how Box2D behaves internally, it is not required to use the API.

b2Pair
Box2D/Collision
Visibility Private
Source reference H.png Cpp.png

A pair is used internally by the broadphase to represent a pair of overlapping proxies. It contains a link to some arbitrary information, which Box2D uses to point to a b2Contact.

The total number of proxies allowed is determined in b2Settings by b2_maxPairs. Box2D will abort if you go above this number.


TOOLBOX
LANGUAGES