Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
World boundary (infinite plane) shape resource for 3D physics.
3D world boundary shape to be added as a direct child of a PhysicsBody3D or Area3D using a CollisionShape3D node. WorldBoundaryShape3D works like an infinite plane and will not allow any physics body to go to the negative side. Note that the Plane's normal matters; anything "below" the plane will collide with it. If the WorldBoundaryShape3D is used in a PhysicsBody3D, it will cause colliding objects placed "below" it to teleport "above" the plane.
Performance: Being a primitive collision shape, WorldBoundaryShape3D is fast to check collisions against.
Plane plane =
Plane(0, 1, 0, 0)
The Plane used by the WorldBoundaryShape3D for collision.