Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

WorldBoundaryShape3D

Inherits: Shape3D < Resource < RefCounted < Object

A 3D world boundary (half-space) shape used for physics collision.

Description

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.

Properties

Plane

plane

Plane(0, 1, 0, 0)


Property Descriptions

Plane plane = Plane(0, 1, 0, 0)

  • void set_plane ( Plane value )

  • Plane get_plane ( )

The Plane used by the WorldBoundaryShape3D for collision.