| Modifier and Type | Field and Description |
|---|---|
| public short | categoryBits
The collision category bits. |
| public short | groupIndex
Collision groups allow a certain group of objects to never collide (negative) or always collide (positive). |
| public short | maskBits
The collision mask bits. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| categoryBits | back to summary |
|---|---|
| public short categoryBits The collision category bits. Normally you would just set one bit. | |
| groupIndex | back to summary |
|---|---|
| public short groupIndex 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 | back to summary |
|---|---|
| public short maskBits The collision mask bits. This states the categories that this shape would accept for collision. | |
| Filter | back to summary |
|---|---|
| public Filter() | |
| set | back to summary |
|---|---|
| public void set(Filter filter) | |