2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 08:08:05 +00:00
<class name= "PinJoint2D" inherits= "Joint2D" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 20:42:36 +00:00
<brief_description >
2023-04-28 20:59:03 +00:00
A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate.
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2023-04-28 20:59:03 +00:00
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.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
</tutorials>
<members >
2019-06-29 10:38:01 +00:00
<member name= "softness" type= "float" setter= "set_softness" getter= "get_softness" default= "0.0" >
2017-10-14 10:19:03 +00:00
The higher this value, the more the bond to the pinned partner can flex.
2017-09-12 20:42:36 +00:00
</member>
</members>
</class>