class_pinjoint2d.rst 815 B

1234567891011121314151617181920212223242526272829303132
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the PinJoint2D.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_PinJoint2D:
  5. PinJoint2D
  6. ==========
  7. **Inherits:** :ref:`Joint2D<class_joint2d>` **<** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Pin Joint for 2D Shapes.
  12. Member Variables
  13. ----------------
  14. .. _class_PinJoint2D_softness:
  15. - :ref:`float<class_float>` **softness** - The higher this value, the more the bond to the pinned partner can flex.
  16. Description
  17. -----------
  18. Pin Joint for 2D Rigid Bodies. It pins two bodies (rigid or static) together.