groupIndex property

int groupIndex
getter/setter pair

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.

Implementation

int groupIndex = 0;