PinJoint2D.xml 575 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PinJoint2D" inherits="Joint2D" version="3.4">
  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. <methods>
  12. </methods>
  13. <members>
  14. <member name="softness" type="float" setter="set_softness" getter="get_softness" default="0.0">
  15. The higher this value, the more the bond to the pinned partner can flex.
  16. </member>
  17. </members>
  18. <constants>
  19. </constants>
  20. </class>