$bbox

From Valve Developer Community
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.

Syntax

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