floor_trace

Determines the method for the internal entity static light and shadow calculation.

Range:

0 - don't calculate brightness by static lights
1 - use the AABB collision detection for finding the floor plane (default)
2 - use the OBB collision detection for finding the floor plane.

Type:

var, redefinable.

Remarks:

Setting this variable to 2 allows activating the map builder function 'Merge Across Leafs' for reducing the number of polygons in a level.

Example:

var floor_trace = 2;

See also:

entity.unlit, Merge Across Leafs