PinJoint2D.xml 596 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PinJoint2D" inherits="Joint2D" category="Core" version="3.1">
  3. <brief_description>
  4. Pin Joint for 2D Shapes.
  5. </brief_description>
  6. <description>
  7. Pin Joint for 2D Rigid Bodies. It pins two bodies (rigid or static) together.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="softness" type="float" setter="set_softness" getter="get_softness">
  17. The higher this value, the more the bond to the pinned partner can flex.
  18. </member>
  19. </members>
  20. <constants>
  21. </constants>
  22. </class>