Box2D: b2FilterData Struct Reference

Box2D

b2FilterData Struct Reference

This holds contact filtering data. More...

List of all members.

Public Attributes

uint16 categoryBits
 The collision category bits. Normally you would just set one bit.
uint16 maskBits
 The collision mask bits.
int16 groupIndex
 Collision groups allow a certain group of objects to never collide (negative) or always collide (positive).

Detailed Description

This holds contact filtering data.

Member Data Documentation

The collision mask bits.

This states the categories that this shape would accept for collision.

Collision groups allow a certain group of objects to never collide (negative) or always collide (positive).

Zero means no collision group. Non-zero group filtering always wins against the mask bits.


The documentation for this struct was generated from the following file:
  • b2Shape.h

Generated on Sun Apr 13 15:21:27 2008 for Box2D by  doxygen 1.5.4