-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
world.tscn
79 lines (57 loc) · 4.01 KB
/
world.tscn
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
[gd_scene load_steps=12 format=3 uid="uid://bmcp585yeyn5o"]
[ext_resource type="Script" path="res://world.gd" id="1_6ym7i"]
[ext_resource type="PackedScene" uid="uid://dmggfl6m8br6f" path="res://assets/terrain/terrain1.obj" id="1_khycm"]
[ext_resource type="PackedScene" uid="uid://cnkgsrhqd65g" path="res://assets/terrain/terrain2.obj" id="2_dscmu"]
[ext_resource type="PackedScene" uid="uid://0gr6fdj6ml11" path="res://mini_tank.tscn" id="3_50yt4"]
[ext_resource type="Script" path="res://Camera3D.gd" id="5_yg61v"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_nvuu8"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_y2rd7"]
sky_material = SubResource("ProceduralSkyMaterial_nvuu8")
[sub_resource type="Environment" id="Environment_7ma2p"]
background_mode = 2
sky = SubResource("Sky_y2rd7")
tonemap_mode = 2
glow_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2i60w"]
albedo_color = Color(0.141488, 0.480469, 0.150331, 1)
[sub_resource type="BoxMesh" id="BoxMesh_neoo4"]
material = SubResource("StandardMaterial3D_2i60w")
size = Vector3(80, 0.1, 80)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_856ua"]
data = PackedVector3Array(-40, 0.05, 40, 40, 0.05, 40, -40, -0.05, 40, 40, 0.05, 40, 40, -0.05, 40, -40, -0.05, 40, 40, 0.05, -40, -40, 0.05, -40, 40, -0.05, -40, -40, 0.05, -40, -40, -0.05, -40, 40, -0.05, -40, 40, 0.05, 40, 40, 0.05, -40, 40, -0.05, 40, 40, 0.05, -40, 40, -0.05, -40, 40, -0.05, 40, -40, 0.05, -40, -40, 0.05, 40, -40, -0.05, -40, -40, 0.05, 40, -40, -0.05, 40, -40, -0.05, -40, 40, 0.05, 40, -40, 0.05, 40, 40, 0.05, -40, -40, 0.05, 40, -40, 0.05, -40, 40, 0.05, -40, -40, -0.05, 40, 40, -0.05, 40, -40, -0.05, -40, 40, -0.05, 40, 40, -0.05, -40, -40, -0.05, -40)
[node name="World" type="Node3D"]
script = ExtResource("1_6ym7i")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7ma2p")
[node name="terrain1" parent="." instance=ExtResource("1_khycm")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, 0, 13)
[node name="terrain6" parent="." instance=ExtResource("1_khycm")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -55, 0, -9)
[node name="walls" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08165e-12, 0.05, 2.08165e-12)
[node name="terrain2" parent="walls" instance=ExtResource("2_dscmu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.405344, 29.2758)
[node name="terrain3" parent="walls" instance=ExtResource("2_dscmu")]
transform = Transform3D(-4.37114e-08, 3.48787e-16, 1, 3.48787e-16, 1, -3.48787e-16, -1, 3.48787e-16, -4.37114e-08, 2.08165e-12, -0.405344, -42.5)
[node name="terrain4" parent="walls" instance=ExtResource("2_dscmu")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -72.0081, -0.405344, -42.5)
[node name="terrain5" parent="walls" instance=ExtResource("2_dscmu")]
transform = Transform3D(1.31134e-07, -3.48787e-16, -1, 3.48787e-16, 1, -3.48787e-16, 1, -3.48787e-16, 1.31134e-07, -72.0081, -0.405344, 29.2758)
[node name="MiniTank" parent="." instance=ExtResource("3_50yt4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -49.1032, 1.11428, 2.96954)
[node name="Ground" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0.38, -4)
mesh = SubResource("BoxMesh_neoo4")
[node name="StaticBody3D" type="StaticBody3D" parent="Ground"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_856ua")
[node name="Camera3D" type="Camera3D" parent="."]
current = true
script = ExtResource("5_yg61v")
target_path = NodePath("../MiniTank")
offset = Vector3(2.08165e-12, 3, 5)