godot/doc/classes/PinJoint2D.xml
Rémi Verschelde 967bfb0c4a doc: Remove revision.module_config from version string
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}",
limits unnecessary diffs.
2017-11-15 20:41:16 +01:00

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>