BoxShape

Inherits: Shape < Resource < Reference < Object

Box shape resource.

Description

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

Tutorials

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–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_boxshape.html