These flags indicate which one of the two standard bounding box sizes (Fat Hull or Narrow Hull given in Map Properties) is
assigned to the entity at startup. When both flags are set, the bounding box (min_x, max_x) is calculated from the entity's real size. This happens automatically with very small or very large models, and map or terrain entities.
A7.82 FAT and NARROW are both automatically set when the WED BBox flag is checked, or enable_polycollision is set at 2 or above,
or when the model is bigger than about 150x150x300 units or smaller than about 30x30x60 units.
Otherwise, either FAT or NARROW is set, dependent on whether the model size is closer to the Fat Hull size or to the Narrow Hull size given in Map Properties.
- When both flags are set, the entities' bounding box (min_x,
max_x) is not automatically recalculated when the entities' model
or scale changes.
- The c_setminmax and c_updatehull functions
set both flags automatically.
// Example for manually assigning a different hull
my.eflags |= FAT | NARROW; // set both flags to prevent automatic recalculation on scale changes
vec_set(my.min_x,vector(-50,-50,-50)); // set bounding box to individual values
Map Compiler, c_setminmax, c_updatehull, POLYGON,