class_boxshape - dragonsoulz/godot GitHub Wiki
BoxShape
####Inherits: Shape ####Category: Core
Brief Description
Box shape resource.
Member Functions
- void set_extents ( Vector3 extents )
- Vector3 get_extents ( ) const
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
- Vector3 get_extents ( ) const
Return the half extents of the shape.