class_boxshape - dragonsoulz/godot GitHub Wiki

BoxShape

####Inherits: Shape ####Category: Core

Brief Description

Box shape resource.

Member Functions

Description

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

Member Function Description

set_extents

  • void set_extents ( Vector3 extents )

Set the half extents for the shape.

get_extents

Return the half extents of the shape.