-
Notifications
You must be signed in to change notification settings - Fork 4
/
Demo.plist
executable file
·114 lines (114 loc) · 2.47 KB
/
Demo.plist
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bodies</key>
<array>
<dict>
<key>name</key>
<string>myCircleBody</string>
<key>position</key>
<string>{160,240}</string>
<key>moment</key>
<integer>1</integer>
<key>mass</key>
<integer>1</integer>
<key>shapes</key>
<array>
<dict>
<key>name</key>
<string>myCircle</string>
<key>type</key>
<string>circle</string>
<key>friction</key>
<real>0.7</real>
<key>elasticity</key>
<integer>1</integer>
<key>sensor</key>
<false/>
<key>radius</key>
<integer>15</integer>
</dict>
</array>
</dict>
<dict>
<key>name</key>
<string>myRectBody</string>
<key>position</key>
<string>{80,200}</string>
<key>moment</key>
<integer>1</integer>
<key>mass</key>
<integer>1</integer>
<key>shapes</key>
<array>
<dict>
<key>name</key>
<string>myRect</string>
<key>type</key>
<string>rectangle</string>
<key>friction</key>
<real>0.7</real>
<key>elasticity</key>
<integer>1</integer>
<key>sensor</key>
<false/>
<key>width</key>
<integer>15</integer>
<key>height</key>
<integer>15</integer>
</dict>
</array>
</dict>
<dict>
<key>name</key>
<string>myPolyBody</string>
<key>position</key>
<string>{160,240}</string>
<key>moment</key>
<integer>1</integer>
<key>mass</key>
<integer>1</integer>
<key>shapes</key>
<array>
<dict>
<key>name</key>
<string>myPolygon</string>
<key>type</key>
<string>polygon</string>
<key>friction</key>
<real>0.7</real>
<key>elasticity</key>
<integer>1</integer>
<key>sensor</key>
<false/>
<key>vertices</key>
<array>
<string>{ -25.00000,25.00000 }</string>
<string>{ 25.00000,25.00000 }</string>
<string>{ 25.00000,-25.00000 }</string>
<string>{ -25.00000,-25.00000 }</string>
</array>
</dict>
</array>
</dict>
</array>
<key>constraints</key>
<array>
<dict>
<key>name</key>
<string>myPinJoint</string>
<key>type</key>
<string>pin_joint</string>
<key>fromBody</key>
<string>myCircleBody</string>
<key>toBody</key>
<string>myRectBody</string>
<key>anchor1</key>
<string>{15,0}</string>
<key>anchor2</key>
<string>{-15,0}</string>
</dict>
</array>
</dict>
</plist>