2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 21:18:53 +08:00
|
|
|
<class name="PinJoint2D" inherits="Joint2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
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>
|
|
|
|
<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>
|
|
|
|
</class>
|