cellSize

The size of each cell in the spatial grid used for collision detection.

Larger cell sizes decrease the number of cells and increase accuracy, but may decrease performance.

Smaller cell sizes increase the number of cells and decrease accuracy, but may increase performance.

The default value is 250, which provides a good balance between accuracy and performance for most scenarios.

Changing this value in between engine ticks may cause issues with collision detection.