Box2D  2.2.1
A 2D Physics Engine for Games
Public Types | Public Attributes
b2Manifold Struct Reference

#include <b2Collision.h>

List of all members.

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:
 All Classes Files Functions Variables Enumerations Enumerator Defines