- Home /
build Simple AI pacman Style
hello.
i'm trying to buld a simple AI for an simil Pacman game, that would be in 3D, where when you are not looking to the enemy they will come to try to eat you, but if you are facing to the and you are close maybe 1 meter they will run away.
so what i need is - get like a cone from the enmy to one meter, that will check if Player coming - eat collectable object. - run away when player is coming - go to eat player if he isen't facing to NPC.
right now i was able just make it able to run away when player is too closest to the NPC, but i'm totally wondering to how do the other things.
anyone have some tutorial or resources where i can learn it?
any help will be appreciated.
thank's in advance
Your answer
![](https://koobas.hobune.stream/wayback/20220612201217im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Problem with simpliest AI and Nav Mesh i quess 1 Answer
nav mesh on a moving ship? 1 Answer
Questions about Lightning, Navigation , Tutorialsource 0 Answers
Navemeshagent and doors 1 Answer
How the heck AI villager movement? 0 Answers