346f1ab86b
Keep on waitin'
16 lines
826 B
XML
16 lines
826 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PinJoint2D" inherits="Joint2D" version="4.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate.
|
|
</brief_description>
|
|
<description>
|
|
A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate. For example, a [RigidBody2D] can be attached to a [StaticBody2D] to create a pendulum or a seesaw.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="softness" type="float" setter="set_softness" getter="get_softness" default="0.0">
|
|
The higher this value, the more the bond to the pinned partner can flex.
|
|
</member>
|
|
</members>
|
|
</class>
|