BLOCK

ABlock is a convex block. A different material can be applied on each side of a Block. Blocks create the map structure. Block objects are used to build visibility information used for dynamic visible surface determination. Each room should be tightly closed with Block objects so it has no gaps. In practice, Blocks are used for walls, ceilings and floors. Block objects can overlap with no impact on performance. Overlapping parts are optimized and removed during map compilation.

A Block can be edited with Constructive Solid Geometry (CSG) operations, so, for example, one Block can be used to cut a hole in another Block resulting in splitting it into several other convex Blocks. Blocks can be joined together if they form a convex block together. The most useful editing operation for Blocks is cut by plane, which splits a convex Block into two other convex Blocks. This operation can be used to remove unnecessary parts of a Block and adapt its shape.

block