layerMasks property

List<int> layerMasks
final

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.

Implementation

final List<int> layerMasks;