Files
godot-docs/classes/class_pinjoint2d.rst
T
Rémi Verschelde 2f06d055e3 De-headline the Inherits and Category fields
Also escape _ and * characters in e.g. "TYPE_*" description content.
2016-02-08 18:31:35 +01:00

38 lines
1.2 KiB
ReStructuredText

.. _class_PinJoint2D:
PinJoint2D
==========
**Inherits:** :ref:`Joint2D<class_joint2d>`
**Category:** Core
Pin Joint for 2D Shapes.
Member Functions
----------------
+----------------------------+-----------------------------------------------------------------------------------------------------+
| void | :ref:`set_softness<class_PinJoint2D_set_softness>` **(** :ref:`float<class_float>` softness **)** |
+----------------------------+-----------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`get_softness<class_PinJoint2D_get_softness>` **(** **)** const |
+----------------------------+-----------------------------------------------------------------------------------------------------+
Description
-----------
Pin Joint for 2D Rigid Bodies. It pins 2 bodies (rigid or static) together, or a single body to a fixed position in space.
Member Function Description
---------------------------
.. _class_PinJoint2D_set_softness:
- void **set_softness** **(** :ref:`float<class_float>` softness **)**
.. _class_PinJoint2D_get_softness:
- :ref:`float<class_float>` **get_softness** **(** **)** const