:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the BoxShape.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_BoxShape: BoxShape ======== **Inherits:** :ref:`Shape` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Box shape resource. Properties ---------- +-------------------------------+-------------------------------------------------+--------------------+ | :ref:`Vector3` | :ref:`extents` | Vector3( 1, 1, 1 ) | +-------------------------------+-------------------------------------------------+--------------------+ Description ----------- 3D box shape that can be a child of a :ref:`PhysicsBody` or :ref:`Area`. Property Descriptions --------------------- .. _class_BoxShape_property_extents: - :ref:`Vector3` **extents** +-----------+--------------------+ | *Default* | Vector3( 1, 1, 1 ) | +-----------+--------------------+ | *Setter* | set_extents(value) | +-----------+--------------------+ | *Getter* | get_extents() | +-----------+--------------------+ The box's half extents. The width, height and depth of this shape is twice the half extents.