From Valve Developer Community
Revision as of 21:22, 15 November 2019 by MrFunreal (talk | contribs) (added info)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Creates an axis-aligned bounding box used by the AI to detect collisions with the world, mostly for movement purposes.
It is also used for the culling of models in the game for optimization. A model will be culled as soon as the bounding box is no longer in view of the model
This is also called the hull.

The $bbox lines are automatically generated when compiling a model, as long as there are no lines existing already.


$bbox (min x) (min y) (min z) (max x) (max y) (max z)