Class WorldBoundaryShape3D
A 3D world boundary (half-space) shape used for physics collision.
- Inheritance
-
WorldBoundaryShape3D
Remarks
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 (physics/3d/physics_engine), WorldBoundaryShape3D has a finite size (centered at the shape's origin). It can be adjusted by changing physics/jolt_physics_3d/limits/world_boundary_shape_size.
Properties
plane
The Plane used by the WorldBoundaryShape3D for collision.
var plane : Plane = Plane(0, 1, 0, 0)