Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Because I used unity I used something called an Overlap Circle to detect the player. Then used sin cos to make the "vision cone". When the player is inside the vision cone I simply called an raycast to see if anything was obstructing the guard's view.