Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
WorldBoundaryShape3D
继承: Shape3D < Resource < RefCounted < Object
用于物理碰撞的 3D 空间边界(半空间)形状。
描述
3D 世界边界形状,应当用于物理用途。WorldBoundaryShape3D 本质上和无限平面类似,能够强制所有物理体都保持在它的上方。哪个方向是“上方”由该平面 plane 的法线确定,这个方向在编辑器中由平面上方的一条线表示。用例是无限的平坦地面。
注意:在项目设置中将物理引擎设为 Jolt Physics(ProjectSettings.physics/3d/physics_engine)时,WorldBoundaryShape3D 的大小有限(以形状原点为中心),可以通过 ProjectSettings.physics/jolt_physics_3d/limits/world_boundary_shape_size 调整。
属性
|
属性说明
Plane plane = Plane(0, 1, 0, 0)
🔗
该 WorldBoundaryShape3D 用于碰撞的 Plane。