From Valve Developer Community
Revision as of 22:16, 28 May 2021 by Max34 (talk | contribs)
(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.

Models will be culled (hidden) when the BBox is no longer in the players field of view, as a means to optimize the game. Too small bounding boxes can cause a model to disappear before it really left the FOV.

This is also called the hull.

$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)

See also