:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the Shape.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_Shape: Shape ===== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`BoxShape`, :ref:`CapsuleShape`, :ref:`ConcavePolygonShape`, :ref:`ConvexPolygonShape`, :ref:`CylinderShape`, :ref:`HeightMapShape`, :ref:`PlaneShape`, :ref:`RayShape`, :ref:`SphereShape` **Category:** Core Brief Description ----------------- Base class for all 3D shape resources. Properties ---------- +---------------------------+--------------------------------------------+ | :ref:`float` | :ref:`margin` | +---------------------------+--------------------------------------------+ Description ----------- Base class for all 3D shape resources. Nodes that inherit from this can be used as shapes for a :ref:`PhysicsBody` or :ref:`Area` objects. Tutorials --------- - :doc:`../tutorials/physics/physics_introduction` Property Descriptions --------------------- .. _class_Shape_property_margin: - :ref:`float` **margin** +----------+-------------------+ | *Setter* | set_margin(value) | +----------+-------------------+ | *Getter* | get_margin() | +----------+-------------------+