feat: first basic enemy patrolling behaviour

This commit is contained in:
Sara 2025-07-20 21:41:22 +02:00
parent 7c4c75d193
commit 526f756736
15 changed files with 801 additions and 386 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,21 @@
[gd_scene load_steps=3 format=3 uid="uid://dqlqgk1veyos8"]
[ext_resource type="PackedScene" uid="uid://7esw31b76x4" path="res://assets/models/base_character.blend" id="1_qot2n"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ng1ul"]
[node name="EnemyWretched" type="EnemyWretched"]
[node name="base_character" parent="." instance=ExtResource("1_qot2n")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_ng1ul")
[node name="StateMachine" type="StateMachine" parent="."]
unique_name_in_owner = true
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
unique_name_in_owner = true
path_desired_distance = 0.25
debug_enabled = true