summaryrefslogtreecommitdiff
path: root/doc/classes/PinJoint2D.xml
blob: a180078ddc23ccfea7b70bf39f2b43eb3310a752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PinJoint2D" inherits="Joint2D" category="Core" version="3.1">
	<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>
	</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>