BoxShape¶
Inherits: Shape < Resource < Reference < Object
Category: Core
Brief Description¶
Box shape resource.
Member Functions¶
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.