BoxShape

Refreshing Cache...

Inherits: Shape < Resource < Reference < Object

Box shape resource.

Description

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

Properties

Vector3extentsVector3( 1, 1, 1 )

Property Descriptions

DefaultVector3( 1, 1, 1 )
Setterset_extents(value)
Getterget_extents()

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

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:30:08. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.