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.

Previous Next


© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6.

Built with Sphinx using a theme provided by Read the Docs.