enable_polycollision

Determines the behavior of the c_... collision instructions.

Range:

0 Ellipsoid collision system and physics engine disabled. The collision functions default to USE_AABB. This has the advantage of faster level loading and faster collision detection, however the collision hulls are Axis Aligned Bounding Boxes (AABB) rather than rotated ellipsoids. Only BSP levels are supported by the AABB collision system.
0.5 Physics engine enabled, but the collision functions default to USE_AABB.
1 Ellipsoid collision system and physics engine enabled (default). For using the old AABB collision system, the collision functions must be called with USE_AABB. Entity collision ellipsoids have two fixed sizes by default, depending on their FAT and NARROW flags.
2 Ellipsoid collision and physics engine enabled. For using the old AABB collision system, the collision functions must be called with USE_AABB. All entities' FAT and NARROW flags are both set by default, thus their collision ellipsoids are set to the real size of their first frame.

Type:

var, redefinable

Example:

var enable_polycollision = 0;   // ellipsoid collision system and physics engine disabled

See also:

physics, collision, c_move, c_setminmax