$bbox
< Zh
Jump to navigation
Jump to search

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.
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.
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.
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命令,可在所有的 起源 游戏中使用。 它定义了一个轴对齐边界框 ,被用于检测与世界的碰撞,主要用于移动目的。
当边界框离开玩家视野 时,模型将被剔除(隐藏),这是优化游戏的一种手段。过小的边界框可能导致模型在真正离开视野前就消失。
这也被称为外壳(hull)。
$bbox
参数行在模型编译 时会自动生成,前提是当前不存在已有的定义行。
语法
$bbox (最小X) (最小Y) (最小Z) (最大X) (最大Y) (最大Z)
另见