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

Return the half extents of the shape.

  • void set_extents ( Vector3 extents )

Set the half extents for the shape.