mirror of
https://github.com/godotengine/godot.git
synced 2024-12-11 13:43:07 +00:00
81064cc239
We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
17 lines
812 B
XML
17 lines
812 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PinJoint2D" inherits="Joint2D" 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>
|