setLayerMasks abstract method

void setLayerMasks(
  1. List<int> masks
)

Replaces the collision grid: masks as Physics3DWorldSettings.layerMasks takes them (see Physics3DWorldSettings.normalizeLayerMasks). The next step judges every pair by it: every body that can move is woken, so pairs at rest are looked at again, and characters take their layer's new row. A grid equal to the current one does nothing.

Implementation

void setLayerMasks(List<int> masks);