.. 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/PhysicalBone2D.xml. .. _class_PhysicalBone2D: PhysicalBone2D ============== **Inherits:** :ref:`RigidBody2D` **<** :ref:`PhysicsBody2D` **<** :ref:`CollisionObject2D` **<** :ref:`Node2D` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` .. 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:`bool` | :ref:`auto_configure_joint` | ``true`` | +---------------------------------+-----------------------------------------------------------------------------------------------+------------------+ | :ref:`int` | :ref:`bone2d_index` | ``-1`` | +---------------------------------+-----------------------------------------------------------------------------------------------+------------------+ | :ref:`NodePath` | :ref:`bone2d_nodepath` | ``NodePath("")`` | +---------------------------------+-----------------------------------------------------------------------------------------------+------------------+ | :ref:`bool` | :ref:`follow_bone_when_simulating` | ``false`` | +---------------------------------+-----------------------------------------------------------------------------------------------+------------------+ | :ref:`bool` | :ref:`simulate_physics` | ``false`` | +---------------------------------+-----------------------------------------------------------------------------------------------+------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------+-----------------------------------------------------------------------------------------------------+ | :ref:`Joint2D` | :ref:`get_joint` **(** **)** |const| | +-------------------------------+-----------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_simulating_physics` **(** **)** |const| | +-------------------------------+-----------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_PhysicalBone2D_property_auto_configure_joint: .. rst-class:: classref-property :ref:`bool` **auto_configure_joint** = ``true`` .. rst-class:: classref-property-setget - void **set_auto_configure_joint** **(** :ref:`bool` value **)** - :ref:`bool` **get_auto_configure_joint** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone2D_property_bone2d_index: .. rst-class:: classref-property :ref:`int` **bone2d_index** = ``-1`` .. rst-class:: classref-property-setget - void **set_bone2d_index** **(** :ref:`int` value **)** - :ref:`int` **get_bone2d_index** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone2D_property_bone2d_nodepath: .. rst-class:: classref-property :ref:`NodePath` **bone2d_nodepath** = ``NodePath("")`` .. rst-class:: classref-property-setget - void **set_bone2d_nodepath** **(** :ref:`NodePath` value **)** - :ref:`NodePath` **get_bone2d_nodepath** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone2D_property_follow_bone_when_simulating: .. rst-class:: classref-property :ref:`bool` **follow_bone_when_simulating** = ``false`` .. rst-class:: classref-property-setget - void **set_follow_bone_when_simulating** **(** :ref:`bool` value **)** - :ref:`bool` **get_follow_bone_when_simulating** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone2D_property_simulate_physics: .. rst-class:: classref-property :ref:`bool` **simulate_physics** = ``false`` .. rst-class:: classref-property-setget - void **set_simulate_physics** **(** :ref:`bool` value **)** - :ref:`bool` **get_simulate_physics** **(** **)** .. 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_PhysicalBone2D_method_get_joint: .. rst-class:: classref-method :ref:`Joint2D` **get_joint** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone2D_method_is_simulating_physics: .. rst-class:: classref-method :ref:`bool` **is_simulating_physics** **(** **)** |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.)`