bug(goap): fixed unexpected AI behaviour

- Death now removes entity from awareness
- State failure now causes replan or goal reevaluation
This commit is contained in:
Sara 2024-08-01 14:40:20 +02:00
parent a2240797b8
commit 111485437c
36 changed files with 845 additions and 88 deletions

View file

@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://duuvete30t8sv"]
[ext_resource type="PackedScene" uid="uid://cv3l44qdi8e56" path="res://Environments/Models/KenneyTrains/train-tram-modern.glb" id="1_isbsa"]
[sub_resource type="BoxShape3D" id="BoxShape3D_wbdhh"]
size = Vector3(2.67188, 4.54761, 6.56006)
[node name="ModernTrain" type="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.97447, 0, 4.90353)
[node name="train-tram-modern2" parent="." instance=ExtResource("1_isbsa")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7135, 0.143799)
shape = SubResource("BoxShape3D_wbdhh")