layerMasks property
The collision grid, one row per layer: bit b of layerMasks[a] is
set when layer a collides with layer b. A pair collides only when
both rows say so. A live world's grid can change:
Physics3DWorld.setLayerMasks.
Implementation
final List<int> layerMasks;