Adjust navigation avoidance code so that enemies attempt to avoid each other
This commit is contained in:
@@ -20,7 +20,7 @@ size = Vector3(12.0027, 3.9892, 0.1)
|
||||
size = Vector3(4.00874, 3.9892, 0.1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_yyl46"]
|
||||
size = Vector3(7.97935, 11.9599, 0.1)
|
||||
size = Vector3(9.84567, 13.9734, 0.1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_m8xpi"]
|
||||
size = Vector3(3.97492, 3.98102, 3.88313)
|
||||
@@ -58,7 +58,7 @@ transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 3.9636
|
||||
shape = SubResource("BoxShape3D_qf6fl")
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collisions/StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 4.00187, -0.0448335, -6.00208)
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 4.02484, -0.0448335, -6.0043)
|
||||
shape = SubResource("BoxShape3D_yyl46")
|
||||
|
||||
[node name="Room" type="Node3D" parent="."]
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dw50ys561j8no" path="res://src/map/assets/DUST_1.png" id="5_6mfs2"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hfmc7"]
|
||||
size = Vector3(0.239136, 18.7304, 24.5964)
|
||||
size = Vector3(0.239136, 18.7304, 24.5605)
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_qjo7v"]
|
||||
height = 17.4449
|
||||
@@ -36,7 +36,7 @@ height = 4.7168
|
||||
radius = 0.452637
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_pqndw"]
|
||||
size = Vector3(52.1012, 0.001, 52.1391)
|
||||
size = Vector3(53.1275, 0.001, 53.6021)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_d346t"]
|
||||
size = Vector3(52.9172, 20.1017, 52.3729)
|
||||
@@ -101,11 +101,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.84883, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -68.4636, 4.25, 34.382)
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collisions/StaticBody3D"]
|
||||
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 94.5014, 6.68126, -49.2063)
|
||||
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 94.5014, 6.68126, -48.9983)
|
||||
shape = SubResource("BoxShape3D_hfmc7")
|
||||
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collisions/StaticBody3D"]
|
||||
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 94.5014, 6.68126, -19.8211)
|
||||
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 94.5014, 6.68126, -20.4007)
|
||||
shape = SubResource("BoxShape3D_hfmc7")
|
||||
|
||||
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collisions/StaticBody3D"]
|
||||
@@ -221,7 +221,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 65.8124, -0.00124025, -60.197
|
||||
shape = SubResource("CylinderShape3D_x0sr3")
|
||||
|
||||
[node name="CollisionShape3D33" type="CollisionShape3D" parent="Collisions/StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 68.5365, -2.06627, -34.4811)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 68.5792, -2.06627, -34.4092)
|
||||
shape = SubResource("BoxShape3D_pqndw")
|
||||
|
||||
[node name="Spawn Points" type="Node3D" parent="."]
|
||||
@@ -271,7 +271,7 @@ shape = SubResource("BoxShape3D_d346t")
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Room/MinimapShadow"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020082, -2.09774, 0.0293603)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020082, 0.807891, 0.0293603)
|
||||
layers = 2
|
||||
sorting_offset = 100.0
|
||||
mesh = SubResource("PlaneMesh_hfmc7")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://5cstpejxygy6"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://5cstpejxygy6"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_i2lux"]
|
||||
[ext_resource type="PackedScene" uid="uid://bglktekocmksl" path="res://src/map/dungeon/models/Area 2/CircleColumn/A2-CircleColumn.glb" id="2_nqsfp"]
|
||||
@@ -10,6 +10,9 @@ size = Vector3(1.49561, 4.7276, 1.23734)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_k267b"]
|
||||
size = Vector3(7.98608, 8.00006, 3.28333)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_icta1"]
|
||||
size = Vector3(20.7874, 0.116821, 20.5842)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_6sers"]
|
||||
size = Vector3(20, 6, 20)
|
||||
|
||||
@@ -164,6 +167,10 @@ shape = SubResource("BoxShape3D_k267b")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.96413, 1.98154, -8.27569)
|
||||
shape = SubResource("BoxShape3D_k267b")
|
||||
|
||||
[node name="CollisionShape3D25" type="CollisionShape3D" parent="Collisions/StaticBody3D2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.157593, -2.04195, 0.142212)
|
||||
shape = SubResource("BoxShape3D_icta1")
|
||||
|
||||
[node name="Spawn Points" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.65001, 0)
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_kx0t3"]
|
||||
material = SubResource("StandardMaterial3D_k6ywg")
|
||||
size = Vector2(8, 26)
|
||||
size = Vector2(16, 52)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_d13sj"]
|
||||
_limits = [-2.0, 2.0, 0.0, 1.0]
|
||||
@@ -564,7 +564,7 @@ shape = SubResource("BoxShape3D_wu8s2")
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Room/MinimapShadow"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020082, -2.41028, 3.41991)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020082, -2.41028, -9.22652)
|
||||
layers = 2
|
||||
sorting_offset = 100.0
|
||||
mesh = SubResource("PlaneMesh_kx0t3")
|
||||
|
||||
Reference in New Issue
Block a user