.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/Joint2D.xml. .. _class_Joint2D: Joint2D ======= **Inherits:** :ref:`Node2D` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`DampedSpringJoint2D`, :ref:`GrooveJoint2D`, :ref:`PinJoint2D` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------+--------------------------------------------------------------------+------------------+ | :ref:`float` | :ref:`bias` | ``0.0`` | +---------------------------------+--------------------------------------------------------------------+------------------+ | :ref:`bool` | :ref:`disable_collision` | ``true`` | +---------------------------------+--------------------------------------------------------------------+------------------+ | :ref:`NodePath` | :ref:`node_a` | ``NodePath("")`` | +---------------------------------+--------------------------------------------------------------------+------------------+ | :ref:`NodePath` | :ref:`node_b` | ``NodePath("")`` | +---------------------------------+--------------------------------------------------------------------+------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-----------------------+------------------------------------------------------------------+ | :ref:`RID` | :ref:`get_rid` **(** **)** |const| | +-----------------------+------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_Joint2D_property_bias: .. rst-class:: classref-property :ref:`float` **bias** = ``0.0`` .. rst-class:: classref-property-setget - void **set_bias** **(** :ref:`float` value **)** - :ref:`float` **get_bias** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Joint2D_property_disable_collision: .. rst-class:: classref-property :ref:`bool` **disable_collision** = ``true`` .. rst-class:: classref-property-setget - void **set_exclude_nodes_from_collision** **(** :ref:`bool` value **)** - :ref:`bool` **get_exclude_nodes_from_collision** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Joint2D_property_node_a: .. rst-class:: classref-property :ref:`NodePath` **node_a** = ``NodePath("")`` .. rst-class:: classref-property-setget - void **set_node_a** **(** :ref:`NodePath` value **)** - :ref:`NodePath` **get_node_a** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Joint2D_property_node_b: .. rst-class:: classref-property :ref:`NodePath` **node_b** = ``NodePath("")`` .. rst-class:: classref-property-setget - void **set_node_b** **(** :ref:`NodePath` value **)** - :ref:`NodePath` **get_node_b** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_Joint2D_method_get_rid: .. rst-class:: classref-method :ref:`RID` **get_rid** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`