Rework enemy behavior (still in progress but shouldn't crash)
This commit is contained in:
13
Zennysoft.Game.Ma/src/enemy/PatrolComponent.tscn
Normal file
13
Zennysoft.Game.Ma/src/enemy/PatrolComponent.tscn
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://p74f12fh5v0i"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://vjb6sjktj6m0" path="res://src/enemy/PatrolComponent.cs" id="1_dhoym"]
|
||||
|
||||
[node name="PatrolComponent" type="Node3D"]
|
||||
script = ExtResource("1_dhoym")
|
||||
|
||||
[node name="Navigation" type="Node3D" parent="."]
|
||||
|
||||
[node name="NavigationAgent" type="NavigationAgent3D" parent="Navigation"]
|
||||
unique_name_in_owner = true
|
||||
avoidance_enabled = true
|
||||
debug_enabled = true
|
||||
Reference in New Issue
Block a user