-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathworld.tscn
More file actions
132 lines (94 loc) · 4.89 KB
/
world.tscn
File metadata and controls
132 lines (94 loc) · 4.89 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[gd_scene load_steps=9 format=3 uid="uid://dnw56nw0m0c31"]
[ext_resource type="Script" path="res://world.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://usykowfpgf66" path="res://sync_mesh.tscn" id="3"]
[sub_resource type="BoxShape3D" id="1"]
[sub_resource type="BoxMesh" id="2"]
[sub_resource type="ConcavePolygonShape3D" id="3"]
data = PackedVector3Array(-1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1)
[sub_resource type="Environment" id="4"]
background_mode = 1
background_color = Color(0.0705882, 0.827451, 1, 1)
sdfgi_use_occlusion = true
sdfgi_bounce_feedback = 0.3
sdfgi_cascades = 2
sdfgi_min_cell_size = 12.8
sdfgi_cascade0_distance = 819.2
sdfgi_max_distance = 3276.8
sdfgi_energy = 7.429
glow_blend_mode = 0
fog_light_color = Color(0.701961, 0.2, 0.333333, 1)
volumetric_fog_density = 0.1293
[sub_resource type="BoxMesh" id="5"]
[sub_resource type="BoxShape3D" id="6"]
[node name="World" type="Node"]
script = ExtResource( "2" )
[node name="DirectionalLight" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.0134716, -0.995255, 0.0963678, -0.13779, 0.0973049, 0.98567, -0.99037, 3.38571e-08, -0.138447, 0, -5.26483, 0)
shadow_enabled = true
[node name="StaticBody" type="StaticBody3D" parent="."]
transform = Transform3D(50, 0, 0, 0, 0.999999, 0, 0, 0, 50, 0, -1, 0)
collision_mask = 3
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBody"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
shape = SubResource( "1" )
disabled = true
[node name="MeshInstance" type="MeshInstance3D" parent="StaticBody/CollisionShape"]
mesh = SubResource( "2" )
[node name="StaticBody" type="StaticBody3D" parent="StaticBody/CollisionShape/MeshInstance"]
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBody/CollisionShape/MeshInstance/StaticBody"]
shape = SubResource( "3" )
[node name="ServerCamera" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 10.6518, 37.3083)
current = true
[node name="Menu" type="Control" parent="."]
anchor_right = 1.0
[node name="VBoxContainer" type="VBoxContainer" parent="Menu"]
anchor_left = 0.5
anchor_right = 0.5
[node name="ServerButton" type="Button" parent="Menu/VBoxContainer"]
offset_right = 107.0
offset_bottom = 31.0
text = "Start Server"
[node name="ClientButton" type="Button" parent="Menu/VBoxContainer"]
offset_top = 35.0
offset_right = 107.0
offset_bottom = 66.0
text = "Client Server"
[node name="SyncMesh" parent="." instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.12977, 0.11825, 0.354554)
[node name="SyncMesh2" parent="." instance=ExtResource( "3" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.21811, 0.11825, 0.46023)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( "4" )
[node name="StaticBody2" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody2"]
mesh = SubResource( "5" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody2"]
shape = SubResource( "6" )
[node name="StaticBody3" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 11)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3"]
mesh = SubResource( "5" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3"]
shape = SubResource( "6" )
[node name="StaticBody4" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, 0, 11)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody4"]
mesh = SubResource( "5" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody4"]
shape = SubResource( "6" )
[node name="StaticBody6" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8.57699)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody6"]
mesh = SubResource( "5" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody6"]
shape = SubResource( "6" )
[node name="StaticBody5" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 11)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody5"]
mesh = SubResource( "5" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody5"]
shape = SubResource( "6" )
[connection signal="button_up" from="Menu/VBoxContainer/ServerButton" to="." method="_start_server"]
[connection signal="button_up" from="Menu/VBoxContainer/ClientButton" to="." method="_start_client"]