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 空間邊界(半空間)形狀。
說明
A 3D world boundary shape, intended for use in physics. WorldBoundaryShape3D works like an infinite plane that forces all physics bodies to stay above it. The plane's normal determines which direction is considered as "above" and in the editor, the line over the plane represents this direction. It can for example be used for endless flat floors.
Note: When the physics engine is set to Jolt Physics in the project settings (ProjectSettings.physics/3d/physics_engine), WorldBoundaryShape3D has a finite size (centered at the shape's origin). It can be adjusted by changing ProjectSettings.physics/jolt_physics_3d/limits/world_boundary_shape_size.
屬性
|
屬性說明
Plane plane = Plane(0, 1, 0, 0) 🔗
該 WorldBoundaryShape3D 用於碰撞的 Plane。