这篇条目有关 Source引擎。如需详情,点击这里。

$bbox

From Valve Developer Community
< Zh
Revision as of 19:14, 18 April 2025 by MoRanYue (talk | contribs)
Jump to navigation Jump to search
Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Info content.png
This page is being translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
English (en)Español (es)中文 (zh)Translate (Translate)
Info content.png
This page is Machine translated
It is not recommended to use machine translation without any corrections.
If the article is not corrected in the long term, it will be removed.
Also, please make sure the article complies with the alternate languages guide.(en)
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.


$bbox是一个QC 命令(en),可在所有的 起源 起源 游戏中使用。 It defines an axis-aligned bounding box(en) used by the Category:AI(en) to detect collisions with the world, mostly for movement purposes.

Models will be culled (hidden) when the bounding box 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(en).

This is also called the hull.

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

Syntax

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

See also