W3cubDocs

/Godot 3.2

BoxShape

Inherits: Shape < Resource < Reference < Object

Box shape resource.

Description

3D box shape that can be a child of a PhysicsBody or Area.

Properties

Vector3 extents Vector3( 1, 1, 1 )

Property Descriptions

Vector3 extents

Default Vector3( 1, 1, 1 )
Setter set_extents(value)
Getter get_extents()

The box's half extents. The width, height and depth of this shape is twice the half extents.

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