|
Box2D
2.2.1
Box2D API Reference for Kobold2D developers
|
#include <b2Collision.h>
Collaboration diagram for b2Manifold:Public Types | |
| enum | Type { e_circles, e_faceA, e_faceB } |
Public Attributes | |
| b2ManifoldPoint | points [b2_maxManifoldPoints] |
| the points of contact | |
| b2Vec2 | localNormal |
| not use for Type::e_points | |
| b2Vec2 | localPoint |
| usage depends on manifold type | |
| Type | type |
| int32 | pointCount |
| the number of manifold points | |
A manifold for two touching convex shapes. Box2D supports multiple types of contact:
not use for Type::e_points
usage depends on manifold type
| int32 b2Manifold::pointCount |
the number of manifold points
| b2ManifoldPoint b2Manifold::points[b2_maxManifoldPoints] |
the points of contact