terrain_cell_size
To improve performance with c_move, c_trace, c_rotate
and physics collision detection, terrains or terrain chunks are subdivided into
even smaller collision cells. This variable specifies how many rows or columns
make up one of these cells. The optimal value depends on the terrain shape, but
values between 10 and 20 should yield good results. If your terrains are smaller
than this number, no separate cells will be generated.
Range:
0 .. terrain_chunk (default = 10)
Type:
var, redefinable
Example:
var terrain_cell_size = 32; // do not split terrain chunks into smaller cells
See also:
terrain_chunk