mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
17 lines
951 B
XML
17 lines
951 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="WorldBoundaryShape3D" inherits="Shape3D" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A 3D world boundary (half-space) shape used for physics collision.
|
|
</brief_description>
|
|
<description>
|
|
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.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="plane" type="Plane" setter="set_plane" getter="get_plane" default="Plane(0, 1, 0, 0)">
|
|
The [Plane] used by the [WorldBoundaryShape3D] for collision.
|
|
</member>
|
|
</members>
|
|
</class>
|