37 lines
965 B
XML
37 lines
965 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PinJoint2D" inherits="Joint2D" category="Core" version="3.0-alpha">
|
|
<brief_description>
|
|
Pin Joint for 2D Shapes.
|
|
</brief_description>
|
|
<description>
|
|
Pin Joint for 2D Rigid Bodies. It pins 2 bodies (rigid or static) together, or a single body to a fixed position in space.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_softness" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_softness">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="softness" type="float">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="softness" type="float" setter="set_softness" getter="get_softness">
|
|
The higher this value, the more the bond to the pinned partner can flex.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|