forked from selgesel/godot4-third-person-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.tscn
93 lines (71 loc) · 3.43 KB
/
Main.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[gd_scene load_steps=13 format=3 uid="uid://duugmnauemcc7"]
[ext_resource type="PackedScene" uid="uid://c0vnqt6uyxaoa" path="res://player/Player.tscn" id="1"]
[ext_resource type="Material" uid="uid://cb6br3g0cy6c1" path="res://assets/materials/Grass.tres" id="1_ugafu"]
[ext_resource type="Material" uid="uid://c560kh0cq42t2" path="res://assets/materials/Concrete.tres" id="2_4xuie"]
[ext_resource type="Material" uid="uid://cotjsbb4imdui" path="res://assets/materials/Wood.tres" id="3_tqk2n"]
[ext_resource type="Texture2D" uid="uid://btrceayvxka1y" path="res://assets/textures/dirt256x256.png" id="4_54p8n"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ukb2j"]
[sub_resource type="Sky" id="1"]
sky_material = SubResource("ProceduralSkyMaterial_ukb2j")
[sub_resource type="Environment" id="2"]
background_mode = 2
sky = SubResource("1")
[sub_resource type="StandardMaterial3D" id="5"]
albedo_texture = ExtResource("4_54p8n")
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_41aqy"]
transparency = 1
shading_mode = 0
albedo_color = Color(0.12549, 0.701961, 0.894118, 0.627451)
[sub_resource type="BoxMesh" id="6"]
material = SubResource("StandardMaterial3D_41aqy")
size = Vector3(25, 11, 19)
[sub_resource type="BoxShape3D" id="8"]
size = Vector3(25.7228, 10, 17.671)
[node name="Main" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("2")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.652085, -0.491636, 0.57713, -0.0626096, 0.793559, 0.605263, -0.755556, 0.358549, -0.548249, 0, 2.70409, 0)
shadow_enabled = true
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
use_collision = true
collision_mask = 2
[node name="CSGMesh3D" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -6, 0)
size = Vector3(100, 100, 12)
material = ExtResource("1_ugafu")
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -20, 1, 0)
size = Vector3(20, 2, 32)
material = ExtResource("2_4xuie")
[node name="CSGBox2" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24, 4, -12)
size = Vector3(6, 4, 6)
material = ExtResource("3_tqk2n")
[node name="CSGBox3" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13, 4, -7)
size = Vector3(6, 4, 6)
material = ExtResource("3_tqk2n")
[node name="CSGPolygon3D" type="CSGPolygon3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 16)
polygon = PackedVector2Array(0, 0, 0, 2, 3, 0)
depth = 4.0
material = ExtResource("2_4xuie")
[node name="CSGBox4" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, -3.61853, -8.32862)
operation = 2
size = Vector3(24, 10, 16)
material = SubResource("5")
[node name="Player" parent="." instance=ExtResource("1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.24706, 0, 4.67049)
collision_mask = 5
[node name="Water" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, -5.8162, -8)
collision_layer = 4
collision_mask = 2
[node name="MeshInstance3D" type="MeshInstance3D" parent="Water"]
mesh = SubResource("6")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Water"]
shape = SubResource("8")