W3cubDocs

/Godot 3.2

PlaneShape

Inherits: Shape < Resource < Reference < Object

Infinite plane shape for 3D collisions.

Description

An infinite plane shape for 3D collisions. Note that the Plane's normal matters; anything "below" the plane will collide with it. If the PlaneShape is used in a PhysicsBody, it will cause colliding objects placed "below" it to teleport "above" the plane.

Properties

Plane plane Plane( 0, 1, 0, 0 )

Property Descriptions

Plane plane

Default Plane( 0, 1, 0, 0 )
Setter set_plane(value)
Getter get_plane()

The Plane used by the PlaneShape for collision.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_planeshape.html