red_dragon_pon/base/scenes/rooms/navigation_test_scene.tscn
2025-07-27 20:48:59 +05:00

71 lines
5.1 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://bjeawqo2kppqk"]
[ext_resource type="PackedScene" uid="uid://twqkevpn0q1a" path="res://base/scenes/enemies/test_enemy.tscn" id="1_cmbee"]
[ext_resource type="PackedScene" uid="uid://dwx5tcatj35gu" path="res://base/scenes/player.tscn" id="2_2xi8s"]
[sub_resource type="NavigationMesh" id="NavigationMesh_cmbee"]
vertices = PackedVector3Array(-12.7732, 1, 10.2876, -2.77324, 1, 10.2876, -2.77324, 1, 8.2876, -0.523237, 1, 8.0376, -0.523237, 1, -4.4624, -12.7732, 1, -4.4624, 11.2268, 1, 8.0376, 11.4768, 1, 10.0376, 12.7268, 1, 9.7876, 12.7268, 1, -4.4624, -1.77324, 4.75, 9.0376, -1.77324, 4.75, 17.0376, -1.27324, 4.75, 17.0376, -1.27324, 4.75, 9.0376, 9.47676, 1, 17.0376, 9.22676, 1, 17.0376, 8.97676, 1, 18.0376, 9.72676, 1, 18.7876, 12.7268, 1, 29.0376, 11.4768, 1, 18.5376, -0.523237, 1, 18.0376, -0.523237, 1, 29.0376, 8.97676, 1, 16.0376, 9.47676, 1, 10.0376, -0.523237, 1, 16.0376, 2.22676, 1, 16.0376, 2.22676, 1, 12.2876, -0.523237, 1, 10.0376, 4.22676, 1, 12.0376, 4.47676, 1, 16.0376, -12.7732, 1, 15.7876, -2.77324, 1, 15.7876, 2.97676, 4.75, 16.7876, 3.72676, 4.75, 17.0376, 3.47676, 4.75, 13.0376, -2.77324, 1, 17.7876, -12.7732, 1, 29.0376)
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(4, 3, 2), PackedInt32Array(0, 5, 2), PackedInt32Array(2, 5, 4), PackedInt32Array(7, 6, 8), PackedInt32Array(8, 6, 9), PackedInt32Array(3, 4, 6), PackedInt32Array(6, 4, 9), PackedInt32Array(13, 12, 10), PackedInt32Array(10, 12, 11), PackedInt32Array(15, 14, 16), PackedInt32Array(16, 14, 17), PackedInt32Array(17, 19, 18), PackedInt32Array(7, 8, 19), PackedInt32Array(19, 8, 18), PackedInt32Array(16, 17, 20), PackedInt32Array(20, 17, 21), PackedInt32Array(21, 17, 18), PackedInt32Array(15, 22, 14), PackedInt32Array(14, 22, 23), PackedInt32Array(25, 24, 26), PackedInt32Array(26, 24, 27), PackedInt32Array(29, 28, 22), PackedInt32Array(22, 28, 23), PackedInt32Array(26, 27, 28), PackedInt32Array(28, 27, 23), PackedInt32Array(0, 1, 30), PackedInt32Array(30, 1, 31), PackedInt32Array(32, 34, 33), PackedInt32Array(30, 31, 35), PackedInt32Array(35, 20, 21), PackedInt32Array(30, 35, 36), PackedInt32Array(36, 35, 21)]
[sub_resource type="ORMMaterial3D" id="ORMMaterial3D_yvrvx"]
albedo_color = Color(1, 0, 0, 1)
[node name="NavigationTestScene" type="Node3D"]
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
navigation_mesh = SubResource("NavigationMesh_cmbee")
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="NavigationRegion3D"]
use_collision = true
[node name="CSGBox3D" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
size = Vector3(26.4385, 1, 9.9248)
[node name="CSGBox3D2" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 24.6131)
size = Vector3(26.4385, 1, 9.9248)
[node name="CSGBox3D3" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -8.31083, 9.53674e-07, 11.2665)
size = Vector3(26.4385, 1, 9.9248)
[node name="CSGBox3D4" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4.78142, 9.53674e-07, 12.2382)
size = Vector3(15.1416, 1, 16.73)
material = SubResource("ORMMaterial3D_yvrvx")
[node name="CSGBox3D5" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4.35131, 1.95319, 9.02124)
size = Vector3(0.87915, 4.90637, 12.7579)
material = SubResource("ORMMaterial3D_yvrvx")
[node name="CSGBox3D6" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -1.61005, 1.95319, 13.0554)
size = Vector3(0.87915, 4.90637, 8.94635)
material = SubResource("ORMMaterial3D_yvrvx")
[node name="CSGBox3D8" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 3.21596, 1.95319, 17.0787)
size = Vector3(0.87915, 4.90637, 10.5567)
material = SubResource("ORMMaterial3D_yvrvx")
[node name="CSGBox3D9" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(1, 0, 1.74846e-07, 0, 1, 0, -1.74846e-07, 0, 1, 3.4037, 1.95319, 15.0201)
size = Vector3(0.87915, 4.90637, 4.93153)
material = SubResource("ORMMaterial3D_yvrvx")
[node name="CSGBox3D7" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 10.495, 1.95319, 13.3886)
size = Vector3(0.87915, 4.90637, 9.60895)
material = SubResource("ORMMaterial3D_yvrvx")
[node name="TestEnemy" parent="." instance=ExtResource("1_cmbee")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.16028, 0.549035, 11.0707)
[node name="Player" parent="." instance=ExtResource("2_2xi8s")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.24002, 1.52635, 15.011)
speed = 1000.0
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.113359, 0.993554, 0, -0.993554, 0.113359, 0, 5.273, 0)