2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 09:03:48 +08:00
|
|
|
<class name="PinJoint2D" inherits="Joint2D" version="4.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2020-03-31 00:22:57 +08:00
|
|
|
Pin joint for 2D shapes.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2021-05-20 09:15:07 +08:00
|
|
|
Pin joint for 2D rigid bodies. It pins two bodies (dynamic or static) together.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="softness" type="float" setter="set_softness" getter="get_softness" default="0.0">
|
2017-10-14 18:19:03 +08:00
|
|
|
The higher this value, the more the bond to the pinned partner can flex.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|