Torque2D Reference
Public Types | Public Attributes | List of all members
b2ContactFeature Struct Reference

#include <b2Collision.h>

Public Types

enum  Type { e_vertex = 0, e_face = 1 }
 

Public Attributes

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

Detailed Description

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

Member Enumeration Documentation

enum Type
Enumerator
e_vertex 
e_face 

Member Data Documentation

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.


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