Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李楚霏
/
RescureMenDemo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ef8e5f7f
authored
Jul 08, 2020
by
李楚霏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
166ff661
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
485 additions
and
459 deletions
+485
-459
rescureMen/assets/scene/test.fire
+463
-450
rescureMen/assets/script/gear.ts
+22
-9
No files found.
rescureMen/assets/scene/test.fire
View file @
ef8e5f7f
...
...
@@ -78,22 +78,22 @@
"__id__": 7
},
{
"__id__": 3
4
"__id__": 3
5
},
{
"__id__": 15
6
"__id__": 15
7
}
],
"_active": true,
"_components": [
{
"__id__": 158
},
{
"__id__": 159
},
{
"__id__": 160
},
{
"__id__": 161
}
],
"_prefab": null,
...
...
@@ -183,7 +183,7 @@
"array": [
0,
0,
610.9538590760533
,
369.84697400369186
,
0,
0,
0,
...
...
@@ -348,16 +348,16 @@
"__id__": 8
},
{
"__id__": 1
2
"__id__": 1
3
},
{
"__id__": 1
8
"__id__": 1
9
},
{
"__id__": 2
3
"__id__": 2
4
},
{
"__id__":
29
"__id__":
30
}
],
"_active": true,
...
...
@@ -428,6 +428,9 @@
},
{
"__id__": 11
},
{
"__id__": 12
}
],
"_prefab": null,
...
...
@@ -520,7 +523,7 @@
"_enabled": true,
"_type": 1,
"_allowSleep": true,
"_gravityScale":
1000
0,
"_gravityScale": 0,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
...
...
@@ -544,7 +547,7 @@
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_density": 1
000
,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
...
...
@@ -719,6 +722,16 @@
"_id": "c5jEzfFyVJj4dk/9cVPobw"
},
{
"__type__": "554acE3G1pCNrN4/0aHxvon",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_id": "16QfTiUSlEyqhvFalARe0K"
},
{
"__type__": "cc.Node",
"_name": "dynamicGear2",
"_objFlags": 0,
...
...
@@ -729,9 +742,6 @@
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 14
},
{
...
...
@@ -742,6 +752,9 @@
},
{
"__id__": 17
},
{
"__id__": 18
}
],
"_prefab": null,
...
...
@@ -797,7 +810,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
2
"__id__": 1
3
},
"_enabled": true,
"_materials": [
...
...
@@ -829,7 +842,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
2
"__id__": 1
3
},
"_enabled": true,
"_type": 1,
...
...
@@ -854,7 +867,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
2
"__id__": 1
3
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -915,7 +928,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 1
2
"__id__": 1
3
},
"_id": "f4JiP96rFH2J8IGeFS609V"
},
...
...
@@ -924,7 +937,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
2
"__id__": 1
3
},
"_enabled": true,
"tag": 0,
...
...
@@ -1107,7 +1120,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
2
"__id__": 1
3
},
"_enabled": true,
"target": null,
...
...
@@ -1124,9 +1137,6 @@
"_active": false,
"_components": [
{
"__id__": 19
},
{
"__id__": 20
},
{
...
...
@@ -1134,6 +1144,9 @@
},
{
"__id__": 22
},
{
"__id__": 23
}
],
"_prefab": null,
...
...
@@ -1189,7 +1202,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
8
"__id__": 1
9
},
"_enabled": true,
"_materials": [
...
...
@@ -1221,7 +1234,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
8
"__id__": 1
9
},
"_enabled": true,
"_type": 1,
...
...
@@ -1246,7 +1259,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
8
"__id__": 1
9
},
"_enabled": true,
"tag": 0,
...
...
@@ -1409,7 +1422,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
8
"__id__": 1
9
},
"_enabled": true,
"_id": "f1yMyd4RJEWYKqpqa+UGXO"
...
...
@@ -1425,9 +1438,6 @@
"_active": true,
"_components": [
{
"__id__": 24
},
{
"__id__": 25
},
{
...
...
@@ -1438,6 +1448,9 @@
},
{
"__id__": 28
},
{
"__id__": 29
}
],
"_prefab": null,
...
...
@@ -1493,7 +1506,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
3
"__id__": 2
4
},
"_enabled": true,
"_materials": [
...
...
@@ -1525,7 +1538,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
3
"__id__": 2
4
},
"_enabled": true,
"_type": 1,
...
...
@@ -1546,81 +1559,11 @@
"_id": "8fsRLIib9D0qw9vfrYzVTL"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 23
},
"_id": "88ANXEoDhIH4HO8EE4oG0b"
},
{
"__type__": "cc.PhysicsPolygonCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
3
"__id__": 2
4
},
"_enabled": true,
"tag": 0,
...
...
@@ -1637,173 +1580,243 @@
"points": [
{
"__type__": "cc.Vec2",
"x": -10.1,
"y": -5.9
},
{
"__type__": "cc.Vec2",
"x": -5.9,
"x": -12.1,
"y": -9.1
},
{
"__type__": "cc.Vec2",
"x": -
9.1
,
"y": -11
"x": -
8.6
,
"y": -11
.9
},
{
"__type__": "cc.Vec2",
"x": -
2
.2,
"y": -1
4.8
"x": -
6
.2,
"y": -1
0.2
},
{
"__type__": "cc.Vec2",
"x": -
2.7
,
"y": -1
0.4
"x": -
3.1
,
"y": -1
1.2
},
{
"__type__": "cc.Vec2",
"x": 2.5,
"y": -1
0.3
"x":
-
2.5,
"y": -1
4.2
},
{
"__type__": "cc.Vec2",
"x": 2.
3
,
"x": 2.
1
,
"y": -14.4
},
{
"__type__": "cc.Vec2",
"x":
9
,
"y": -11.
3
"x":
3
,
"y": -11.
1
},
{
"__type__": "cc.Vec2",
"x":
6
,
"y": -
9.3
"x":
5.9
,
"y": -
10.1
},
{
"__type__": "cc.Vec2",
"x":
10.06
,
"y": -
6.05
"x":
8.8
,
"y": -
12.3
},
{
"__type__": "cc.Vec2",
"x": 11.
75
,
"y": -8.
6
"x": 11.
9
,
"y": -8.
9
},
{
"__type__": "cc.Vec2",
"x": 1
4.55
,
"y": -
1.48
"x": 1
0
,
"y": -
5.7
},
{
"__type__": "cc.Vec2",
"x": 11.
69
,
"y": -2.
23
"x": 11.
5
,
"y": -2.
8
},
{
"__type__": "cc.Vec2",
"x": 1
1.6
,
"y":
2.7
"x": 1
4.7
,
"y":
-2.1
},
{
"__type__": "cc.Vec2",
"x": 14.
4
,
"y": 2
.2
"x": 14.
7
,
"y": 2
},
{
"__type__": "cc.Vec2",
"x": 11
.8
,
"y":
8.9
"x": 11,
"y":
3.2
},
{
"__type__": "cc.Vec2",
"x": 10,
"y":
6
"y":
5.9
},
{
"__type__": "cc.Vec2",
"x":
5.9
,
"y":
10.1
"x":
11.7
,
"y":
9
},
{
"__type__": "cc.Vec2",
"x": 8.8,
"y": 11.
8
"y": 11.
9
},
{
"__type__": "cc.Vec2",
"x":
2.29
,
"y": 1
4.73
"x":
5.8
,
"y": 1
0
},
{
"__type__": "cc.Vec2",
"x": 3,
"y": 11.
4
"x": 3
.1
,
"y": 11.
2
},
{
"__type__": "cc.Vec2",
"x":
-2.9
,
"y": 1
1.3
"x":
2.2
,
"y": 1
4.8
},
{
"__type__": "cc.Vec2",
"x": -2,
"y": 14.8
"x": -2
.14
,
"y": 14.8
2
},
{
"__type__": "cc.Vec2",
"x": -
8.8
,
"y": 1
2
"x": -
2.7
,
"y": 1
1.5
},
{
"__type__": "cc.Vec2",
"x": -5.
9
,
"y": 10.
2
"x": -5.
7
,
"y": 10.
1
},
{
"__type__": "cc.Vec2",
"x": -
10.2
,
"y":
6.
2
"x": -
8.6
,
"y":
1
2
},
{
"__type__": "cc.Vec2",
"x": -11.
7
,
"y":
8.9
"x": -11.
5
,
"y":
9.5
},
{
"__type__": "cc.Vec2",
"x": -1
4.7
,
"y":
2.1
"x": -1
0
,
"y":
6.5
},
{
"__type__": "cc.Vec2",
"x": -11.
5
,
"y": 3
"x": -11.
1
,
"y": 3
.2
},
{
"__type__": "cc.Vec2",
"x": -1
1.7
,
"y":
-1.9
"x": -1
4.8
,
"y":
2.1
},
{
"__type__": "cc.Vec2",
"x": -14.6,
"y": -
1.6
"y": -
2.3
},
{
"__type__": "cc.Vec2",
"x": -11.8,
"y": -8.5
"x": -11.5,
"y": -2.7
},
{
"__type__": "cc.Vec2",
"x": -10.3,
"y": -5.8
}
],
"_id": "d1wXbPasBFx4C/okSXW1OQ"
"_id": "36pm6GESVGkYV8RbhfNyZ3"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 24
},
"_id": "88ANXEoDhIH4HO8EE4oG0b"
},
{
"__type__": "9f879YGuoROFrLJrd9nEcLA",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
3
"__id__": 2
4
},
"_enabled": true,
"target": null,
...
...
@@ -1820,9 +1833,6 @@
"_active": true,
"_components": [
{
"__id__": 30
},
{
"__id__": 31
},
{
...
...
@@ -1830,6 +1840,9 @@
},
{
"__id__": 33
},
{
"__id__": 34
}
],
"_prefab": null,
...
...
@@ -1885,7 +1898,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
29
"__id__":
30
},
"_enabled": true,
"_materials": [
...
...
@@ -1917,7 +1930,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
29
"__id__":
30
},
"_enabled": true,
"_type": 1,
...
...
@@ -1942,7 +1955,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
29
"__id__":
30
},
"_enabled": true,
"tag": 0,
...
...
@@ -1968,7 +1981,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
29
"__id__":
30
},
"_enabled": true,
"label": null,
...
...
@@ -1984,64 +1997,64 @@
},
"_children": [
{
"__id__": 3
5
"__id__": 3
6
},
{
"__id__": 4
0
"__id__": 4
1
},
{
"__id__": 4
7
"__id__": 4
8
},
{
"__id__": 5
3
"__id__": 5
4
},
{
"__id__":
59
"__id__":
60
},
{
"__id__": 6
5
"__id__": 6
6
},
{
"__id__": 7
1
"__id__": 7
2
},
{
"__id__": 7
7
"__id__": 7
8
},
{
"__id__": 8
3
"__id__": 8
4
},
{
"__id__":
89
"__id__":
90
},
{
"__id__": 9
5
"__id__": 9
6
},
{
"__id__": 10
1
"__id__": 10
2
},
{
"__id__": 10
7
"__id__": 10
8
},
{
"__id__": 11
3
"__id__": 11
4
},
{
"__id__": 1
19
"__id__": 1
20
},
{
"__id__": 12
5
"__id__": 12
6
},
{
"__id__": 13
1
"__id__": 13
2
},
{
"__id__": 13
7
"__id__": 13
8
},
{
"__id__": 14
3
"__id__": 14
4
},
{
"__id__": 15
3
"__id__": 15
4
}
],
"_active": false,
...
...
@@ -2099,15 +2112,12 @@
"_name": "disk",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
},
{
"__id__": 37
},
{
...
...
@@ -2115,6 +2125,9 @@
},
{
"__id__": 39
},
{
"__id__": 40
}
],
"_prefab": null,
...
...
@@ -2170,7 +2183,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
5
"__id__": 3
6
},
"_enabled": true,
"_materials": [
...
...
@@ -2202,7 +2215,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
5
"__id__": 3
6
},
"_enabled": true,
"_type": 1,
...
...
@@ -2227,7 +2240,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
5
"__id__": 3
6
},
"_enabled": true,
"tag": 0,
...
...
@@ -2249,7 +2262,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
5
"__id__": 3
6
},
"_enabled": true,
"label": null,
...
...
@@ -2261,15 +2274,12 @@
"_name": "hook",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
},
{
"__id__": 42
},
{
...
...
@@ -2282,7 +2292,10 @@
"__id__": 45
},
{
"__id__": 152
"__id__": 46
},
{
"__id__": 153
}
],
"_prefab": null,
...
...
@@ -2338,7 +2351,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
1
},
"_enabled": true,
"_materials": [
...
...
@@ -2370,7 +2383,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
1
},
"_enabled": true,
"_type": 2,
...
...
@@ -2395,7 +2408,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
1
},
"_enabled": true,
"tag": 0,
...
...
@@ -2421,7 +2434,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
1
},
"_enabled": true,
"_id": "a7LuEyw79BAYxThj2PaotL"
...
...
@@ -2431,7 +2444,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
1
},
"_enabled": true,
"anchor": {
...
...
@@ -2445,7 +2458,7 @@
"y": 0
},
"connectedBody": {
"__id__": 4
6
"__id__": 4
7
},
"collideConnected": false,
"_distance": 10,
...
...
@@ -2458,7 +2471,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
8
},
"_enabled": true,
"_type": 2,
...
...
@@ -2483,25 +2496,25 @@
"_name": "ball2",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 48
},
{
"__id__": 46
"__id__": 49
},
{
"__id__": 4
9
"__id__": 4
7
},
{
"__id__": 50
},
{
"__id__": 51
},
{
"__id__": 52
}
],
"_prefab": null,
...
...
@@ -2557,7 +2570,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
8
},
"_enabled": true,
"_materials": [
...
...
@@ -2589,7 +2602,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
8
},
"_enabled": true,
"tag": 0,
...
...
@@ -2611,7 +2624,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
8
},
"_enabled": true,
"anchor": {
...
...
@@ -2625,7 +2638,7 @@
"y": 0
},
"connectedBody": {
"__id__": 4
2
"__id__": 4
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -2638,7 +2651,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
8
},
"_enabled": true,
"anchor": {
...
...
@@ -2652,7 +2665,7 @@
"y": 0
},
"connectedBody": {
"__id__": 5
2
"__id__": 5
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -2665,7 +2678,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
4
},
"_enabled": true,
"_type": 2,
...
...
@@ -2690,25 +2703,25 @@
"_name": "ball3",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 54
},
{
"__id__": 52
"__id__": 55
},
{
"__id__": 5
5
"__id__": 5
3
},
{
"__id__": 56
},
{
"__id__": 57
},
{
"__id__": 58
}
],
"_prefab": null,
...
...
@@ -2764,7 +2777,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
4
},
"_enabled": true,
"_materials": [
...
...
@@ -2796,7 +2809,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
4
},
"_enabled": true,
"tag": 0,
...
...
@@ -2818,7 +2831,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
4
},
"_enabled": true,
"anchor": {
...
...
@@ -2832,7 +2845,7 @@
"y": 0
},
"connectedBody": {
"__id__": 4
6
"__id__": 4
7
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -2845,7 +2858,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
4
},
"_enabled": true,
"anchor": {
...
...
@@ -2859,7 +2872,7 @@
"y": 0
},
"connectedBody": {
"__id__": 5
8
"__id__": 5
9
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -2872,7 +2885,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
60
},
"_enabled": true,
"_type": 2,
...
...
@@ -2897,25 +2910,25 @@
"_name": "ball4",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
},
{
"__id__": 58
"__id__": 61
},
{
"__id__":
61
"__id__":
59
},
{
"__id__": 62
},
{
"__id__": 63
},
{
"__id__": 64
}
],
"_prefab": null,
...
...
@@ -2971,7 +2984,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
60
},
"_enabled": true,
"_materials": [
...
...
@@ -3003,7 +3016,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
60
},
"_enabled": true,
"tag": 0,
...
...
@@ -3025,7 +3038,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
60
},
"_enabled": true,
"anchor": {
...
...
@@ -3039,7 +3052,7 @@
"y": 0
},
"connectedBody": {
"__id__": 5
2
"__id__": 5
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3052,7 +3065,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
60
},
"_enabled": true,
"anchor": {
...
...
@@ -3066,7 +3079,7 @@
"y": 0
},
"connectedBody": {
"__id__": 6
4
"__id__": 6
5
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3079,7 +3092,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
5
"__id__": 6
6
},
"_enabled": true,
"_type": 2,
...
...
@@ -3104,25 +3117,25 @@
"_name": "ball5",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
},
{
"__id__": 64
"__id__": 67
},
{
"__id__": 6
7
"__id__": 6
5
},
{
"__id__": 68
},
{
"__id__": 69
},
{
"__id__": 70
}
],
"_prefab": null,
...
...
@@ -3178,7 +3191,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
5
"__id__": 6
6
},
"_enabled": true,
"_materials": [
...
...
@@ -3210,7 +3223,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
5
"__id__": 6
6
},
"_enabled": true,
"tag": 0,
...
...
@@ -3232,7 +3245,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
5
"__id__": 6
6
},
"_enabled": true,
"anchor": {
...
...
@@ -3246,7 +3259,7 @@
"y": 0
},
"connectedBody": {
"__id__": 5
8
"__id__": 5
9
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3259,7 +3272,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
5
"__id__": 6
6
},
"_enabled": true,
"anchor": {
...
...
@@ -3273,7 +3286,7 @@
"y": 0
},
"connectedBody": {
"__id__": 7
0
"__id__": 7
1
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3286,7 +3299,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
2
},
"_enabled": true,
"_type": 2,
...
...
@@ -3311,25 +3324,25 @@
"_name": "ball6",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
},
{
"__id__": 70
"__id__": 73
},
{
"__id__": 7
3
"__id__": 7
1
},
{
"__id__": 74
},
{
"__id__": 75
},
{
"__id__": 76
}
],
"_prefab": null,
...
...
@@ -3385,7 +3398,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
2
},
"_enabled": true,
"_materials": [
...
...
@@ -3417,7 +3430,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
2
},
"_enabled": true,
"tag": 0,
...
...
@@ -3439,7 +3452,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
2
},
"_enabled": true,
"anchor": {
...
...
@@ -3453,7 +3466,7 @@
"y": 0
},
"connectedBody": {
"__id__": 6
4
"__id__": 6
5
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3466,7 +3479,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
2
},
"_enabled": true,
"anchor": {
...
...
@@ -3480,7 +3493,7 @@
"y": 0
},
"connectedBody": {
"__id__": 7
6
"__id__": 7
7
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3493,7 +3506,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
8
},
"_enabled": true,
"_type": 2,
...
...
@@ -3518,25 +3531,25 @@
"_name": "ball7",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
},
{
"__id__": 76
"__id__": 79
},
{
"__id__": 7
9
"__id__": 7
7
},
{
"__id__": 80
},
{
"__id__": 81
},
{
"__id__": 82
}
],
"_prefab": null,
...
...
@@ -3592,7 +3605,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
8
},
"_enabled": true,
"_materials": [
...
...
@@ -3624,7 +3637,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
8
},
"_enabled": true,
"tag": 0,
...
...
@@ -3646,7 +3659,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
8
},
"_enabled": true,
"anchor": {
...
...
@@ -3660,7 +3673,7 @@
"y": 0
},
"connectedBody": {
"__id__": 7
0
"__id__": 7
1
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3673,7 +3686,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
8
},
"_enabled": true,
"anchor": {
...
...
@@ -3687,7 +3700,7 @@
"y": 0
},
"connectedBody": {
"__id__": 8
2
"__id__": 8
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3700,7 +3713,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"_type": 2,
...
...
@@ -3725,25 +3738,25 @@
"_name": "ball8",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
},
{
"__id__": 82
"__id__": 85
},
{
"__id__": 8
5
"__id__": 8
3
},
{
"__id__": 86
},
{
"__id__": 87
},
{
"__id__": 88
}
],
"_prefab": null,
...
...
@@ -3799,7 +3812,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"_materials": [
...
...
@@ -3831,7 +3844,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"tag": 0,
...
...
@@ -3853,7 +3866,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"anchor": {
...
...
@@ -3867,7 +3880,7 @@
"y": 0
},
"connectedBody": {
"__id__": 7
6
"__id__": 7
7
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3880,7 +3893,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"anchor": {
...
...
@@ -3894,7 +3907,7 @@
"y": 0
},
"connectedBody": {
"__id__": 8
8
"__id__": 8
9
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -3907,7 +3920,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"_type": 2,
...
...
@@ -3932,25 +3945,25 @@
"_name": "ball9",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
},
{
"__id__": 88
"__id__": 91
},
{
"__id__":
91
"__id__":
89
},
{
"__id__": 92
},
{
"__id__": 93
},
{
"__id__": 94
}
],
"_prefab": null,
...
...
@@ -4006,7 +4019,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"_materials": [
...
...
@@ -4038,7 +4051,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"tag": 0,
...
...
@@ -4060,7 +4073,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"anchor": {
...
...
@@ -4074,7 +4087,7 @@
"y": 0
},
"connectedBody": {
"__id__": 8
2
"__id__": 8
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4087,7 +4100,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"anchor": {
...
...
@@ -4101,7 +4114,7 @@
"y": 0
},
"connectedBody": {
"__id__": 9
4
"__id__": 9
5
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4114,7 +4127,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
6
},
"_enabled": true,
"_type": 2,
...
...
@@ -4139,25 +4152,25 @@
"_name": "ball10",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 96
},
{
"__id__": 94
"__id__": 97
},
{
"__id__": 9
7
"__id__": 9
5
},
{
"__id__": 98
},
{
"__id__": 99
},
{
"__id__": 100
}
],
"_prefab": null,
...
...
@@ -4213,7 +4226,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4245,7 +4258,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
6
},
"_enabled": true,
"tag": 0,
...
...
@@ -4267,7 +4280,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
6
},
"_enabled": true,
"anchor": {
...
...
@@ -4281,7 +4294,7 @@
"y": 0
},
"connectedBody": {
"__id__": 8
8
"__id__": 8
9
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4294,7 +4307,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
6
},
"_enabled": true,
"anchor": {
...
...
@@ -4308,7 +4321,7 @@
"y": 0
},
"connectedBody": {
"__id__": 10
0
"__id__": 10
1
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4321,7 +4334,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
2
},
"_enabled": true,
"_type": 2,
...
...
@@ -4346,25 +4359,25 @@
"_name": "ball11",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
},
{
"__id__": 100
"__id__": 103
},
{
"__id__": 10
3
"__id__": 10
1
},
{
"__id__": 104
},
{
"__id__": 105
},
{
"__id__": 106
}
],
"_prefab": null,
...
...
@@ -4420,7 +4433,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
2
},
"_enabled": true,
"_materials": [
...
...
@@ -4452,7 +4465,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
2
},
"_enabled": true,
"tag": 0,
...
...
@@ -4474,7 +4487,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
2
},
"_enabled": true,
"anchor": {
...
...
@@ -4488,7 +4501,7 @@
"y": 0
},
"connectedBody": {
"__id__": 9
4
"__id__": 9
5
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4501,7 +4514,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
2
},
"_enabled": true,
"anchor": {
...
...
@@ -4515,7 +4528,7 @@
"y": 0
},
"connectedBody": {
"__id__": 10
6
"__id__": 10
7
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4528,7 +4541,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
7
"__id__": 10
8
},
"_enabled": true,
"_type": 2,
...
...
@@ -4553,25 +4566,25 @@
"_name": "ball12",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 108
},
{
"__id__": 106
"__id__": 109
},
{
"__id__": 10
9
"__id__": 10
7
},
{
"__id__": 110
},
{
"__id__": 111
},
{
"__id__": 112
}
],
"_prefab": null,
...
...
@@ -4627,7 +4640,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
7
"__id__": 10
8
},
"_enabled": true,
"_materials": [
...
...
@@ -4659,7 +4672,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
7
"__id__": 10
8
},
"_enabled": true,
"tag": 0,
...
...
@@ -4681,7 +4694,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
7
"__id__": 10
8
},
"_enabled": true,
"anchor": {
...
...
@@ -4695,7 +4708,7 @@
"y": 0
},
"connectedBody": {
"__id__": 10
0
"__id__": 10
1
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4708,7 +4721,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
7
"__id__": 10
8
},
"_enabled": true,
"anchor": {
...
...
@@ -4722,7 +4735,7 @@
"y": 0
},
"connectedBody": {
"__id__": 11
2
"__id__": 11
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4735,7 +4748,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
3
"__id__": 11
4
},
"_enabled": true,
"_type": 2,
...
...
@@ -4760,25 +4773,25 @@
"_name": "ball13",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 114
},
{
"__id__": 112
"__id__": 115
},
{
"__id__": 11
5
"__id__": 11
3
},
{
"__id__": 116
},
{
"__id__": 117
},
{
"__id__": 118
}
],
"_prefab": null,
...
...
@@ -4834,7 +4847,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
3
"__id__": 11
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4866,7 +4879,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
3
"__id__": 11
4
},
"_enabled": true,
"tag": 0,
...
...
@@ -4888,7 +4901,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
3
"__id__": 11
4
},
"_enabled": true,
"anchor": {
...
...
@@ -4902,7 +4915,7 @@
"y": 0
},
"connectedBody": {
"__id__": 10
6
"__id__": 10
7
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4915,7 +4928,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
3
"__id__": 11
4
},
"_enabled": true,
"anchor": {
...
...
@@ -4929,7 +4942,7 @@
"y": 0
},
"connectedBody": {
"__id__": 11
8
"__id__": 11
9
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -4942,7 +4955,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
19
"__id__": 1
20
},
"_enabled": true,
"_type": 2,
...
...
@@ -4967,25 +4980,25 @@
"_name": "ball14",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 120
},
{
"__id__": 118
"__id__": 121
},
{
"__id__": 1
21
"__id__": 1
19
},
{
"__id__": 122
},
{
"__id__": 123
},
{
"__id__": 124
}
],
"_prefab": null,
...
...
@@ -5041,7 +5054,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
19
"__id__": 1
20
},
"_enabled": true,
"_materials": [
...
...
@@ -5073,7 +5086,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
19
"__id__": 1
20
},
"_enabled": true,
"tag": 0,
...
...
@@ -5095,7 +5108,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
19
"__id__": 1
20
},
"_enabled": true,
"anchor": {
...
...
@@ -5109,7 +5122,7 @@
"y": 0
},
"connectedBody": {
"__id__": 11
2
"__id__": 11
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5122,7 +5135,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
19
"__id__": 1
20
},
"_enabled": true,
"anchor": {
...
...
@@ -5136,7 +5149,7 @@
"y": 0
},
"connectedBody": {
"__id__": 12
4
"__id__": 12
5
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5149,7 +5162,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
5
"__id__": 12
6
},
"_enabled": true,
"_type": 2,
...
...
@@ -5174,25 +5187,25 @@
"_name": "ball15",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 126
},
{
"__id__": 124
"__id__": 127
},
{
"__id__": 12
7
"__id__": 12
5
},
{
"__id__": 128
},
{
"__id__": 129
},
{
"__id__": 130
}
],
"_prefab": null,
...
...
@@ -5248,7 +5261,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
5
"__id__": 12
6
},
"_enabled": true,
"_materials": [
...
...
@@ -5280,7 +5293,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
5
"__id__": 12
6
},
"_enabled": true,
"tag": 0,
...
...
@@ -5302,7 +5315,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
5
"__id__": 12
6
},
"_enabled": true,
"anchor": {
...
...
@@ -5316,7 +5329,7 @@
"y": 0
},
"connectedBody": {
"__id__": 11
8
"__id__": 11
9
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5329,7 +5342,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
5
"__id__": 12
6
},
"_enabled": true,
"anchor": {
...
...
@@ -5343,7 +5356,7 @@
"y": 0
},
"connectedBody": {
"__id__": 13
0
"__id__": 13
1
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5356,7 +5369,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
1
"__id__": 13
2
},
"_enabled": true,
"_type": 2,
...
...
@@ -5381,25 +5394,25 @@
"_name": "ball16",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 132
},
{
"__id__": 130
"__id__": 133
},
{
"__id__": 13
3
"__id__": 13
1
},
{
"__id__": 134
},
{
"__id__": 135
},
{
"__id__": 136
}
],
"_prefab": null,
...
...
@@ -5455,7 +5468,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
1
"__id__": 13
2
},
"_enabled": true,
"_materials": [
...
...
@@ -5487,7 +5500,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
1
"__id__": 13
2
},
"_enabled": true,
"tag": 0,
...
...
@@ -5509,7 +5522,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
1
"__id__": 13
2
},
"_enabled": true,
"anchor": {
...
...
@@ -5523,7 +5536,7 @@
"y": 0
},
"connectedBody": {
"__id__": 12
4
"__id__": 12
5
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5536,7 +5549,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
1
"__id__": 13
2
},
"_enabled": true,
"anchor": {
...
...
@@ -5550,7 +5563,7 @@
"y": 0
},
"connectedBody": {
"__id__": 13
6
"__id__": 13
7
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5563,7 +5576,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
7
"__id__": 13
8
},
"_enabled": true,
"_type": 2,
...
...
@@ -5588,25 +5601,25 @@
"_name": "backhook",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 138
},
{
"__id__": 136
"__id__": 139
},
{
"__id__": 13
9
"__id__": 13
7
},
{
"__id__": 140
},
{
"__id__": 141
},
{
"__id__": 142
}
],
"_prefab": null,
...
...
@@ -5662,7 +5675,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
7
"__id__": 13
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5694,7 +5707,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
7
"__id__": 13
8
},
"_enabled": true,
"tag": 0,
...
...
@@ -5720,7 +5733,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
7
"__id__": 13
8
},
"_enabled": true,
"anchor": {
...
...
@@ -5734,7 +5747,7 @@
"y": 0
},
"connectedBody": {
"__id__": 13
0
"__id__": 13
1
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5747,7 +5760,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
7
"__id__": 13
8
},
"_enabled": true,
"anchor": {
...
...
@@ -5761,7 +5774,7 @@
"y": 0
},
"connectedBody": {
"__id__": 14
2
"__id__": 14
3
},
"collideConnected": false,
"_distance": 20,
...
...
@@ -5774,7 +5787,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
3
"__id__": 14
4
},
"_enabled": true,
"_type": 2,
...
...
@@ -5799,29 +5812,29 @@
"_name": "stone",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [
{
"__id__": 14
4
"__id__": 14
5
},
{
"__id__": 14
6
"__id__": 14
7
},
{
"__id__": 14
8
"__id__": 14
9
}
],
"_active": true,
"_components": [
{
"__id__": 15
0
"__id__": 15
1
},
{
"__id__": 14
2
"__id__": 14
3
},
{
"__id__": 15
1
"__id__": 15
2
}
],
"_prefab": null,
...
...
@@ -5877,13 +5890,13 @@
"_name": "circleback",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
5
"__id__": 14
6
}
],
"_prefab": null,
...
...
@@ -5939,7 +5952,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
4
"__id__": 14
5
},
"_enabled": true,
"_materials": [
...
...
@@ -5971,13 +5984,13 @@
"_name": "stone",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
7
"__id__": 14
8
}
],
"_prefab": null,
...
...
@@ -6033,7 +6046,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
6
"__id__": 14
7
},
"_enabled": true,
"_materials": [
...
...
@@ -6065,13 +6078,13 @@
"_name": "circlefront",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
49
"__id__": 1
50
}
],
"_prefab": null,
...
...
@@ -6127,7 +6140,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
8
"__id__": 14
9
},
"_enabled": true,
"_materials": [
...
...
@@ -6159,7 +6172,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
3
"__id__": 14
4
},
"_enabled": true,
"tag": 0,
...
...
@@ -6277,7 +6290,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
3
"__id__": 14
4
},
"_enabled": true,
"anchor": {
...
...
@@ -6291,7 +6304,7 @@
"y": 47
},
"connectedBody": {
"__id__": 13
6
"__id__": 13
7
},
"collideConnected": false,
"_distance": 25,
...
...
@@ -6304,7 +6317,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
1
},
"_enabled": true,
"anchor": {
...
...
@@ -6329,16 +6342,16 @@
"_name": "ground",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
4
"__id__": 15
5
},
{
"__id__": 15
5
"__id__": 15
6
}
],
"_prefab": null,
...
...
@@ -6394,7 +6407,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
3
"__id__": 15
4
},
"_enabled": true,
"_type": 0,
...
...
@@ -6419,7 +6432,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
3
"__id__": 15
4
},
"_enabled": true,
"tag": 0,
...
...
@@ -6451,7 +6464,7 @@
"_active": false,
"_components": [
{
"__id__": 15
7
"__id__": 15
8
}
],
"_prefab": null,
...
...
@@ -6507,7 +6520,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
6
"__id__": 15
7
},
"_enabled": true,
"_materials": [
...
...
rescureMen/assets/script/gear.ts
View file @
ef8e5f7f
...
...
@@ -18,23 +18,27 @@ export default class NewClass extends cc.Component {
collider
:
cc
.
PhysicsPolygonCollider
;
startPoint
:
cc
.
Vec2
;
tween
:
any
;
points
:
cc
.
Vec2
;
points
:
cc
.
Vec2
;
startCollision
:
boolean
=
false
;
// LIFE-CYCLE CALLBACKS:
onBeginContact
(
contact
,
selfCollider
,
otherCollider
)
{
}
onEndContact
(
contact
,
selfCollider
,
otherCollider
)
{
}
onPreSolve
(
contact
,
selfCollider
,
otherCollider
)
{
// console.error(contact);
const
worldManifold
=
contact
.
getWorldManifold
();
this
.
points
=
worldManifold
.
normal
;
if
(
otherCollider
.
node
.
name
.
includes
(
'staticGear'
))
{
this
.
scheduleOnce
(()
=>
{
this
.
node
.
position
=
cc
.
v3
(
this
.
points
.
x
,
this
.
points
.
y
,
0
);
this
.
rigidBody
.
angularVelocity
=
-
otherCollider
.
node
.
getComponent
(
cc
.
RigidBody
).
angularVelocity
;
},
0
);
this
.
startCollision
=
true
;
this
.
points
=
otherCollider
.
node
.
getComponent
(
cc
.
RigidBody
).
getWorldCenter
();
this
.
rigidBody
.
angularVelocity
=
-
otherCollider
.
node
.
getComponent
(
cc
.
RigidBody
).
angularVelocity
;
}
}
onPostSolve
(
contact
,
selfCollider
,
otherCollider
)
{
this
.
rigidBody
.
angularVelocity
=
0
;
// this.rigidBody.angularVelocity = 0;
// this.startCollision = false;
}
onLoad
()
{
...
...
@@ -98,6 +102,15 @@ export default class NewClass extends cc.Component {
}
update
(
dt
)
{
if
(
!
this
.
startCollision
)
return
;
const
point
=
this
.
rigidBody
.
getWorldCenter
();
let
subPos
=
point
.
sub
(
this
.
points
);
let
distance
=
subPos
.
mag
();
if
(
distance
<=
this
.
node
.
width
)
{
// this.node.position = this.node.position.clone().add(cc.v3(this.points.x, this.points.y ,0));
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment