Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks for the feedback this was my first time adding enemy ai and i didn't know how to fix it

(+1)

you add colider to main camera set it to trigger so it would not colide with anything else , then in enemy script check if enemy is inside camera with (ontriggerenter) function  if he is set them to active or start firing.

Thanks I will try that out after the jam