.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_CollisionShape: CollisionShape ============== **Inherits:** :ref:`Spatial` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +------------------------------+-------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_collision_object_shape_index` **(** **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_shape` **(** **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_trigger` **(** **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------+ | void | :ref:`make_convex_from_brothers` **(** **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------+ | void | :ref:`resource_changed` **(** :ref:`Object` resource **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_shape` **(** :ref:`Object` shape **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_trigger` **(** :ref:`bool` enable **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------+ Member Function Description --------------------------- .. _class_CollisionShape_get_collision_object_shape_index: - :ref:`int` **get_collision_object_shape_index** **(** **)** const .. _class_CollisionShape_get_shape: - :ref:`Object` **get_shape** **(** **)** const .. _class_CollisionShape_is_trigger: - :ref:`bool` **is_trigger** **(** **)** const .. _class_CollisionShape_make_convex_from_brothers: - void **make_convex_from_brothers** **(** **)** .. _class_CollisionShape_resource_changed: - void **resource_changed** **(** :ref:`Object` resource **)** .. _class_CollisionShape_set_shape: - void **set_shape** **(** :ref:`Object` shape **)** .. _class_CollisionShape_set_trigger: - void **set_trigger** **(** :ref:`bool` enable **)**