diff options
Diffstat (limited to 'prefabs/enemy.tscn')
-rw-r--r-- | prefabs/enemy.tscn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/prefabs/enemy.tscn b/prefabs/enemy.tscn index 9ed692e..71e35f8 100644 --- a/prefabs/enemy.tscn +++ b/prefabs/enemy.tscn @@ -26,4 +26,6 @@ shape = SubResource("CapsuleShape3D_s5qw4") [node name="HitTimer" type="Timer" parent="."] wait_time = 0.2 +[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."] + [connection signal="timeout" from="HitTimer" to="." method="_on_hit_timer_timeout"] |