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

Plane

plane

Plane(0, 1, 0, 0)

Property Descriptions

Default

Plane(0, 1, 0, 0)

Setter

set_plane(value)

Getter

get_plane()

The Plane used by the WorldBoundaryShape3D for collision.