Zh/$bbox: Difference between revisions
< Zh
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{tabsBar|main=gs|base=$bbox}} | {{tabsBar|main=gs|base=$bbox}} | ||
{{this is a| | {{this is a|QC命令|name=$bbox}} 它定义了一个{{L|bounding box|轴对齐边界框}},被{{ACategory|AI}}用于检测与世界的碰撞,主要用于移动目的。 | ||
当边界框离开玩家{{L|Field_of_View|视野}}时,模型将被剔除(隐藏),这是优化游戏的一种手段。过小的边界框可能导致模型在真正离开视野前就消失。 | |||
这也被称为''外壳''(hull)。 | |||
<code>$bbox</code> | <code>$bbox</code>参数行在{{L|Compiling_a_model|模型编译}}时会自动生成,前提是当前不存在已有的定义行。 | ||
== | ==语法== | ||
$bbox ( | $bbox (最小X) (最小Y) (最小Z) (最大X) (最大Y) (最大Z) | ||
== | ==另见== | ||
* {{L|$cbox}} | * {{L|$cbox}} | ||
* {{L|$hbox}} | * {{L|$hbox}} | ||
Line 20: | Line 19: | ||
{{ACategory|Modeling}} | {{ACategory|Modeling}} | ||
{{ACategory|QC Commands|bbox}} | {{ACategory|QC Commands|bbox}} | ||
{{ACategory|Source}}__NOTOC__ | {{ACategory|Source}} | ||
__NOTOC__ |
Latest revision as of 20:32, 18 April 2025

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)
另见