Filter
Constructors
Properties
Link copied to clipboard
The collision category bits. Normally you would just set one bit. Default is 1 (a single category). Use maskBits to control what this shape collides with.
Link copied to clipboard
Collision groups allow a certain group of objects to never collide (negative) or always collide (positive). A group index of zero has no effect. Non-zero group filtering always wins against the mask bits.