Box2D  2.2.1
Box2D API Reference for Kobold2D developers
b2ContactFeature Struct Reference

#include <b2Collision.h>

List of all members.

Public Types

enum  Type { e_vertex = 0, e_face = 1 }

Public Attributes

uint8 indexA
 Feature index on shapeA.
uint8 indexB
 Feature index on shapeB.
uint8 typeA
 The feature type on shapeA.
uint8 typeB
 The feature type on shapeB.

Detailed Description

The features that intersect to form the contact point This must be 4 bytes or less.


Member Data Documentation

Feature index on shapeA.

Feature index on shapeB.

The feature type on shapeA.

The feature type on shapeB.


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