ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2Filter Struct Reference

#include <b2Types.h>

Data Fields

uint16 categoryBits
 The collision category bits. Normally you would just set one bit.
uint16 maskBits
uint16 groupIndex

Detailed Description

This holds contact filtering data.

Definition at line 55 of file b2Types.h.


Field Documentation

The collision category bits. Normally you would just set one bit.

Definition at line 58 of file b2Types.h.

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.

Definition at line 67 of file b2Types.h.

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

Definition at line 62 of file b2Types.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Defines