prop_sphere
< Zh
Jump to navigation
Jump to search
![]() |
---|
CPhysSphere |
![]() |
prop_sphere
是一个模型实体,可在所有的 起源 游戏中使用。
这是一个本质上等同于prop_physics 的实体,但具有完美的球形VPhysics 碰撞模型(半径12单位)。如果您需要创建球形实体,使用prop_sphere远比尝试创建球形碰撞网格 要高效得多!

models\combine_helicopter\helicopter_bomb01.mdl
。

键值
- Radius (radius) <浮点型 > (仅存在于
之中)
- 球体半径
FGD代码
如果您不打算修改实体的C++代码,可以使用以下定义: 英文原代码:
@PointClass base(BasePropPhysics, RenderFields) studioprop() = prop_sphere : "Creates a perfect sphere."
[
]
中文代码(如有需要):
@PointClass base(BasePropPhysics, RenderFields) studioprop() = prop_sphere : "创建一个完美球体"
[
]