summaryrefslogtreecommitdiff
path: root/doc/classes/PinJoint2D.xml
blob: 7f92567ae4e5649db4d70be79822b2765fa0eaf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?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>