$bbox: Difference between revisions
Jump to navigation
Jump to search
(added info) |
(reworded page) |
||
Line 1: | Line 1: | ||
Creates an axis-aligned bounding box used by the AI to detect collisions with the world, mostly for movement purposes.<br> | Creates an axis-aligned bounding box used by the AI to detect collisions with the world, mostly for movement purposes.<br> | ||
Models will be cullled (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.<br> | |||
This is also called the ''hull''. | This is also called the ''hull''. | ||
$bbox lines are automatically generated when compiling a model, as long as there are no lines existing already.<br> | |||
== Syntax == | == Syntax == |
Revision as of 21:34, 9 October 2020
Creates an axis-aligned bounding box used by the AI to detect collisions with the world, mostly for movement purposes.
Models will be cullled (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.
Syntax
$bbox (min x) (min y) (min z) (max x) (max y) (max z)