Options
All
  • Public
  • Public/Protected
  • All
Menu

This holds contact filtering data.

Hierarchy

  • b2FilterData

Index

Constructors

Properties

categoryBits: number

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

groupIndex: number

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.

maskBits: number

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

Methods

Generated using TypeDoc