Attention: Here be dragons
This is the latest
(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...
WorldBoundaryShape3D¶
Inherits: Shape3D < Resource < RefCounted < Object
World boundary (infinite plane) shape resource for 3D physics.
Description¶
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.
Properties¶
|
Property Descriptions¶
Plane plane = Plane(0, 1, 0, 0)
The Plane used by the WorldBoundaryShape3D for collision.