All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Attributes | List of all members
b2Manifold Struct Reference

#include <b2Collision.h>

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

Detailed Description

A manifold for two touching convex shapes. Box2D supports multiple types of contact:

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