BoxShape

Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Box shape resource.

Member Functions

Vector3 get_extents ( ) const
void set_extents ( Vector3 extents )

Description

Box shape resource, which can be set into a PhysicsBody or area.

Member Function Description

Vector3 get_extents ( ) const

Return the half extents of the shape.

void set_extents ( Vector3 extents )

Set the half extents for the shape.

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