:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the SpringArm.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_SpringArm: SpringArm ========= **Inherits:** :ref:`Spatial` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Properties ---------- +---------------------------+----------------------------------------------------------------+ | :ref:`int` | :ref:`collision_mask` | +---------------------------+----------------------------------------------------------------+ | :ref:`float` | :ref:`margin` | +---------------------------+----------------------------------------------------------------+ | :ref:`Shape` | :ref:`shape` | +---------------------------+----------------------------------------------------------------+ | :ref:`float` | :ref:`spring_length` | +---------------------------+----------------------------------------------------------------+ Methods ------- +---------------------------+--------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_excluded_object` **(** :ref:`RID` RID **)** | +---------------------------+--------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_excluded_objects` **(** **)** | +---------------------------+--------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_hit_length` **(** **)** | +---------------------------+--------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`remove_excluded_object` **(** :ref:`RID` RID **)** | +---------------------------+--------------------------------------------------------------------------------------------------------------------+ Property Descriptions --------------------- .. _class_SpringArm_property_collision_mask: - :ref:`int` **collision_mask** +----------+---------------------------+ | *Setter* | set_collision_mask(value) | +----------+---------------------------+ | *Getter* | get_collision_mask() | +----------+---------------------------+ ---- .. _class_SpringArm_property_margin: - :ref:`float` **margin** +----------+-------------------+ | *Setter* | set_margin(value) | +----------+-------------------+ | *Getter* | get_margin() | +----------+-------------------+ ---- .. _class_SpringArm_property_shape: - :ref:`Shape` **shape** +----------+------------------+ | *Setter* | set_shape(value) | +----------+------------------+ | *Getter* | get_shape() | +----------+------------------+ ---- .. _class_SpringArm_property_spring_length: - :ref:`float` **spring_length** +----------+-------------------+ | *Setter* | set_length(value) | +----------+-------------------+ | *Getter* | get_length() | +----------+-------------------+ Method Descriptions ------------------- .. _class_SpringArm_method_add_excluded_object: - void **add_excluded_object** **(** :ref:`RID` RID **)** ---- .. _class_SpringArm_method_clear_excluded_objects: - void **clear_excluded_objects** **(** **)** ---- .. _class_SpringArm_method_get_hit_length: - :ref:`float` **get_hit_length** **(** **)** ---- .. _class_SpringArm_method_remove_excluded_object: - :ref:`bool` **remove_excluded_object** **(** :ref:`RID` RID **)**