Attention: Here be dragons
This is the
(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...
Inherits: Shape2D < Resource < RefCounted < Object
A 2D world boundary (half-plane) shape used for physics collision.
A 2D world boundary shape, intended for use in physics. WorldBoundaryShape2D works like an infinite straight line that forces all physics bodies to stay above it. The line's normal determines which direction is considered as "above" and in the editor, the smaller line over it represents this direction. It can for example be used for endless flat floors.
float distance =
The line's distance from the origin.
Vector2 normal =
The line's normal. Defaults to