Skip to content
0.2.0-dev Download ZIP
17 lines ·1.3 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="WorldBoundaryShape3D" inherits="Shape3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A 3D world boundary (half-space) shape used for physics collision.
5 </brief_description>
6 <description>
7 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 [member 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.
8 [b]Note:[/b] When the physics engine is set to [b]Jolt Physics[/b] in the project settings ([member ProjectSettings.physics/3d/physics_engine]), [WorldBoundaryShape3D] has a finite size (centered at the shape's origin). It can be adjusted by changing [member ProjectSettings.physics/jolt_physics_3d/limits/world_boundary_shape_size].
9 </description>
10 <tutorials>
11 </tutorials>
12 <members>
13 <member name="plane" type="Plane" setter="set_plane" getter="get_plane" default="Plane(0, 1, 0, 0)">
14 The [Plane] used by the [WorldBoundaryShape3D] for collision.
15 </member>
16 </members>
17</class>