Добавил преследование

This commit is contained in:
2026-10-27 14:57:54 +05:00
parent 6b34b8593f
commit 823d68ffd6
10 changed files with 242 additions and 18 deletions
+15 -16
View File
@@ -10,20 +10,14 @@
[ext_resource type="AudioStream" uid="uid://ddsynauqeoppw" path="res://World/tron_01.ogg" id="7_272bh"]
[ext_resource type="AudioStream" uid="uid://280pvcvxt2n2" path="res://models/Bochi-Rock/Guitar.ogg" id="7_dg77c"]
[ext_resource type="PackedScene" uid="uid://evml2s8rmerw" path="res://models/obelisk_01/Obelisk.glb" id="9_kek77"]
[ext_resource type="Script" uid="uid://b3ckck8y0rby6" path="res://models/Bochi-Rock/rock-path.gd" id="10_4c57u"]
[ext_resource type="Script" uid="uid://o2kqd0cy4knr" path="res://models/Bochi-Rock/rock-follow.gd" id="10_4c57u"]
[ext_resource type="PackedScene" uid="uid://cowp33ejxcfcl" path="res://models/Bochi-Rock/Rock.glb" id="11_efxa6"]
[ext_resource type="Script" uid="uid://cx16mgkh4bldx" path="res://World/forest.gd" id="12_forest"]
[ext_resource type="PackedScene" uid="uid://b6d4btx7xn51j" path="res://models/Tree_01/Tree_01_low.glb" id="13_treelow"]
[ext_resource type="Script" uid="uid://j5ultotjrstk" path="res://World/birds.gd" id="14_birds"]
[ext_resource type="Script" uid="uid://chtck5eaaddrw" path="res://World/levitate.gd" id="15_levitate"]
[ext_resource type="PackedScene" uid="uid://bmprcwbt78ghq" path="res://models/empire-state/Empire-State.glb" id="17_yaehf"]
[sub_resource type="Curve3D" id="Curve3D_dg77c"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 5.2467575, -0.0029411316, 93.87327, 0, 0, 0, 0, 0, 0, 13.789459, -0.0029335022, 97.604256, 0, 0, 0, 0, 0, 0, 24.239388, -0.0029335022, 102.18522, 0, 0, 0, 0, 0, 0, 37.65388, -0.0029335022, 101.72713, 0, 0, 0, 0, 0, 0, 49.610317, -0.002937317, 93.816925, 0, 0, 0, 0, 0, 0, 54.721954, -0.002937317, 83.662735, 0, 0, 0, 0, 0, 0, 60.17699, -0.002937317, 67.371086, 0, 0, 0, 0, 0, 0, 63.19221, -0.002937317, 50.906624, 0, 0, 0, 0, 0, 0, 63.427063, -0.002937317, 36.6671, 0, 0, 0, 0, 0, 0, 60.360424, -0.002937317, 23.65346, 0, 0, 0, 0, 0, 0, 51.587524, -0.002937317, 10.339436, 0, 0, 0, 0, 0, 0, 37.92818, -0.002937317, -5.663192, 0, 0, 0, 0, 0, 0, 30.353395, -0.0029411316, -11.97097, 0, 0, 0, 0, 0, 0, 24.506142, -0.002937317, -11.578466, 0, 0, 0, 0, 0, 0, 23.492048, -0.0029411316, -8.094779, 0, 0, 0, 0, 0, 0, 26.842072, -0.0029411316, -2.955284, 0, 0, 0, 0, 0, 0, 30.540104, -0.002937317, -0.6889343, 0, 0, 0, 0, 0, 0, 32.266655, -0.0029411316, 7.519619, 0, 0, 0, 0, 0, 0, 29.88159, -0.002937317, 11.079437, 0, 0, 0, 0, 0, 0, 23.867472, -0.002937317, 15.516203, 0, 0, 0, 0, 0, 0, 20.547432, -0.0029411316, 15.771803, 0, 0, 0, 0, 0, 0, 17.486126, -0.0029411316, 10.689701, 0, 0, 0, 0, 0, 0, 12.567432, -0.0029411316, 9.993235, 0, 0, 0, 0, 0, 0, 8.265545, -0.002937317, 16.372534, 0, 0, 0, 0, 0, 0, 1.9048309, -0.002937317, 26.435099, 0, 0, 0, 0, 0, 0, -9.015602, -0.002937317, 34.162575, 0, 0, 0, 0, 0, 0, -19.431889, -0.002937317, 44.664474, 0, 0, 0, 0, 0, 0, -23.387104, -0.002937317, 59.80117, 0, 0, 0, 0, 0, 0, -21.00288, -0.0029335022, 71.96566, 0, 0, 0, 0, 0, 0, -12.79343, -0.0029335022, 78.17484, 0, 0, 0, 0, 0, 0, -3.5642548, -0.002937317, 81.15604, 0, 0, 0, 0, 0, 0, 5.206661, -0.002937317, 82.6712),
"tilts": PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
}
point_count = 32
[ext_resource type="Script" uid="uid://c2k1kj4a2s2su" path="res://World/nav-bake.gd" id="18_navbake"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_6opy2"]
panorama = ExtResource("2_5vw27")
@@ -67,20 +61,21 @@ script = ExtResource("15_levitate")
amplitude = 5.0
period = 8.0
[node name="rock" type="Path3D" parent="Architecture" unique_id=1419147983]
curve = SubResource("Curve3D_dg77c")
[node name="PathFollow3D" type="PathFollow3D" parent="Architecture/rock" unique_id=2095285038]
transform = Transform3D(-0.4002386, -7.500245e-07, -0.916411, 5.684342e-14, 1, -8.184369e-07, 0.916411, -3.275701e-07, -0.4002386, 5.2467575, -0.0029411316, 93.87327)
[node name="rock" type="Node3D" parent="Architecture" unique_id=1419147983]
transform = Transform3D(-0.4002386, 0, -0.916411, 0, 1, 0, 0.916411, 0, -0.4002386, 5.2467575, -0.0029411316, 93.87327)
script = ExtResource("10_4c57u")
[node name="Rock" parent="Architecture/rock/PathFollow3D" unique_id=1431376827 instance=ExtResource("11_efxa6")]
[node name="Rock" parent="Architecture/rock" unique_id=1431376827 instance=ExtResource("11_efxa6")]
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Architecture/rock/PathFollow3D/Rock" unique_id=912581689]
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Architecture/rock/Rock" unique_id=912581689]
stream = ExtResource("7_dg77c")
autoplay = true
max_distance = 30.0
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="Architecture/rock" unique_id=1616493785]
height = 5.0
radius = 2.0
[node name="cyber_office" parent="Architecture" unique_id=1003431047 instance=ExtResource("1_2cqfq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.9035664, -0.2606399, -24.004528)
@@ -124,7 +119,11 @@ max_height = 55.0
bird_scale = 0.9
[node name="CharacterBody3D" parent="." unique_id=365865796 instance=ExtResource("2_h2yge")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0830812, 2.6370785, 0.44329834)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0830812, 5.621685, 0.44329834)
[node name="Empire-State" parent="." unique_id=913942978 instance=ExtResource("17_yaehf")]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 188.18842, -0.0029239655, 0.5043459)
[node name="Navigation" type="NavigationRegion3D" parent="." unique_id=1471038126]
script = ExtResource("18_navbake")
exclude = Array[NodePath]([NodePath("../Architecture/rock"), NodePath("../CharacterBody3D")])