I am trying to make a stealth game, however, I do not know how to make a detection system, like a bar that goes up if a NPC sees you. Anyone know how to help?
COMMUNITY QUESTION
How do i make a detection bar?
1 answer
welcome. you will want to look into raycasting to scan a field of view in front of the npc, and probably keep a value on the player along with a gui that updates when they get hit.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I would need to see some code first to help you