.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the CapsuleShape2D.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_CapsuleShape2D: CapsuleShape2D ============== **Inherits:** :ref:`Shape2D` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Capsule shape for 2D collisions. Member Variables ---------------- .. _class_CapsuleShape2D_height: - :ref:`float` **height** - The capsule's height. .. _class_CapsuleShape2D_radius: - :ref:`float` **radius** - The capsule's radius. Description ----------- Capsule shape for 2D collisions.