The collision category bits. Normally you would just set one bit.
publicushortCategoryBits
return
ushort
GroupIndex public property
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.
publicshortGroupIndex
return
short
MaskBits public property
The collision mask bits. This states the categories that this shape would accept for collision.