92 lines
3.3 KiB
Plaintext
92 lines
3.3 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://b88nuwe42bhc1"]
|
|
|
|
[ext_resource type="Script" path="res://Tiles/tile_turn.gd" id="1_wj6en"]
|
|
[ext_resource type="PackedScene" uid="uid://dkcjoccsgbggg" path="res://obstacles/Obstacle.tscn" id="2_tnkvo"]
|
|
[ext_resource type="PackedScene" uid="uid://dh2nm1sphyfqx" path="res://Tiles/TilePath.tscn" id="3_e2l5m"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cwetn"]
|
|
cull_mode = 2
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_jju0s"]
|
|
material = SubResource("StandardMaterial3D_cwetn")
|
|
size = Vector2(10, 10)
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_rsriu"]
|
|
material = SubResource("StandardMaterial3D_cwetn")
|
|
size = Vector2(2, 10)
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_r80si"]
|
|
_data = {
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4),
|
|
"tilts": PackedFloat32Array(0, 0)
|
|
}
|
|
point_count = 2
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_gpbgb"]
|
|
_data = {
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, -4, 0, 0, 0, 0, 0, 0, 0, 0, -11),
|
|
"tilts": PackedFloat32Array(0, 0)
|
|
}
|
|
point_count = 2
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_f5rtl"]
|
|
_data = {
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, -4, 0, 0, 0, 0, 0, 0, 0, 0, -5, 0, 0, 0, 0, 0, 0, 5, 0, -5),
|
|
"tilts": PackedFloat32Array(0, 0, 0)
|
|
}
|
|
point_count = 3
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_febxw"]
|
|
_data = {
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, -4, 0, 0, 0, 0, 0, 0, 0, 0, -5, 0, 0, 0, 0, 0, 0, -5, 0, -5),
|
|
"tilts": PackedFloat32Array(0, 0, 0)
|
|
}
|
|
point_count = 3
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_uvh3q"]
|
|
size = Vector3(9.809, 12, 17.618)
|
|
|
|
[node name="Tile1" type="Node3D"]
|
|
script = ExtResource("1_wj6en")
|
|
turn_direction = 2
|
|
|
|
[node name="Floor" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -5)
|
|
mesh = SubResource("PlaneMesh_jju0s")
|
|
|
|
[node name="Wall1" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, -5, 1, -5)
|
|
mesh = SubResource("PlaneMesh_rsriu")
|
|
|
|
[node name="Wall2" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1.91069e-15, -4.37114e-08, 1, -1, -4.37114e-08, 0, 4.37114e-08, -1, -4.37114e-08, 0, 1, -10)
|
|
mesh = SubResource("PlaneMesh_rsriu")
|
|
|
|
[node name="MainPath" parent="." instance=ExtResource("3_e2l5m")]
|
|
curve = SubResource("Curve3D_r80si")
|
|
|
|
[node name="PathForward" parent="." instance=ExtResource("3_e2l5m")]
|
|
curve = SubResource("Curve3D_gpbgb")
|
|
|
|
[node name="PathRight" parent="." instance=ExtResource("3_e2l5m")]
|
|
curve = SubResource("Curve3D_f5rtl")
|
|
|
|
[node name="PathLeft" parent="." instance=ExtResource("3_e2l5m")]
|
|
curve = SubResource("Curve3D_febxw")
|
|
|
|
[node name="SpawnPoint" type="Marker3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 5, 0, -5)
|
|
|
|
[node name="Area3D" type="Area3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0194125, 5.56203, -0.65315)
|
|
shape = SubResource("BoxShape3D_uvh3q")
|
|
|
|
[node name="Obstacle" parent="." instance=ExtResource("2_tnkvo")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -10.1477)
|
|
|
|
[node name="OnScreenNotifier" type="VisibleOnScreenNotifier3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -5)
|
|
aabb = AABB(-5, -1, -5, 10, 2, 10)
|