From b262d5d194036571d0b3adad3c9914ba9dbe0c8b Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Mon, 23 Sep 2024 19:24:56 +0100 Subject: enemy: Add line of sight to AI to look for player --- addons/fpc/character.tscn | 1 + 1 file changed, 1 insertion(+) (limited to 'addons') diff --git a/addons/fpc/character.tscn b/addons/fpc/character.tscn index a43e940..da78a6f 100644 --- a/addons/fpc/character.tscn +++ b/addons/fpc/character.tscn @@ -352,6 +352,7 @@ MarginContainer/constants/margin_top = 10 [sub_resource type="SphereShape3D" id="SphereShape3D_k4wwl"] [node name="Character" type="CharacterBody3D" node_paths=PackedStringArray("HEAD", "CAMERA", "HEADBOB_ANIMATION", "JUMP_ANIMATION", "CROUCH_ANIMATION", "COLLISION_MESH")] +collision_layer = 5 script = ExtResource("1_0t4e8") default_reticle = "res://addons/fpc/reticles/reticle_1.tscn" HEAD = NodePath("Head") -- cgit