Now About Social Code
summaryrefslogtreecommitdiff
path: root/addons/fpc
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-09-23 19:24:56 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-09-23 19:25:46 +0100
commitb262d5d194036571d0b3adad3c9914ba9dbe0c8b (patch)
tree8b2c97809f05450fa7624c811065f0cb6993b2a6 /addons/fpc
parentb62062c72a2354ba06b53706d94d3db53c224f12 (diff)
enemy: Add line of sight to AI to look for player
Diffstat (limited to 'addons/fpc')
-rw-r--r--addons/fpc/character.tscn1
1 files changed, 1 insertions, 0 deletions
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")