[gd_scene load_steps=6 format=3 uid="uid://bwo12me8h21q5"] [ext_resource type="PackedScene" uid="uid://cn2xvs2g7box5" path="res://swarm_engine/flow_field_navigation/flow_field_navigation.tscn" id="1_xwcpn"] [ext_resource type="PackedScene" uid="uid://cdau7qryen3uq" path="res://swarm_engine/swarm_unit/swarm_unit.tscn" id="3_6kohq"] [ext_resource type="PackedScene" uid="uid://dycbdcrwsm6wu" path="res://experimente/felox/player.tscn" id="6_wayso"] [sub_resource type="PlaneMesh" id="PlaneMesh_3dwe5"] size = Vector2(400, 400) [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_vtddf"] points = PackedVector3Array(-200, 0, -200, -200, 0, 200, 200, 0, -200, 200, 0, 200) [node name="World" type="Node3D"] [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="FlowFieldNavigation" parent="." node_paths=PackedStringArray("target") instance=ExtResource("1_xwcpn")] unique_name_in_owner = true show_grid_center = true grid_center_color = Color(0, 0.0833333, 1, 1) show_border = true show_x_lines = true x_lines_color = Color(1, 0.45, 0, 1) show_z_lines = true z_lines_color = Color(1, 0, 0.0166664, 1) show_arrows = true cell_center_color = Color(0.702375, 0.0507974, 0.96251, 1) cell_size = 4.0 grid_size_x = 50 grid_size_z = 50 target = NodePath("../player") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] mesh = SubResource("PlaneMesh_3dwe5") [node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"] [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"] shape = SubResource("ConvexPolygonShape3D_vtddf") [node name="player" parent="." instance=ExtResource("6_wayso")] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.50529) [node name="Camera3D" type="Camera3D" parent="player"] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 10, 8) [node name="Node3D" type="Node3D" parent="."] [node name="SwarmUnit" parent="Node3D" node_paths=PackedStringArray("flow_field_navigation") instance=ExtResource("3_6kohq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0338392, 0, -41.7085) move_speed = 4 flow_field_navigation = NodePath("../../FlowFieldNavigation") [node name="SwarmUnit2" parent="Node3D" node_paths=PackedStringArray("flow_field_navigation") instance=ExtResource("3_6kohq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.4426, 0, -41.7085) move_speed = 4 flow_field_navigation = NodePath("../../FlowFieldNavigation") [node name="SwarmUnit3" parent="Node3D" node_paths=PackedStringArray("flow_field_navigation") instance=ExtResource("3_6kohq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0338392, 0, -58.7671) move_speed = 4 flow_field_navigation = NodePath("../../FlowFieldNavigation") [node name="SwarmUnit4" parent="Node3D" node_paths=PackedStringArray("flow_field_navigation") instance=ExtResource("3_6kohq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.4426, 0, -58.7671) move_speed = 4 flow_field_navigation = NodePath("../../FlowFieldNavigation")