Sight of the zombie

So at the moment I am working on getting the zombies eyes to see the player. There are some problems with the raycast that I need to figure out because right now the zombie can see through walls…
Other then that I have been working a bit more on creating functions that for example gives me a random position or a random position in front of the zombie on the navmesh. As well as a function that returns a boolean if the zombie can see the player. This is to create a better wandering behavior.

Be Sociable, Share!

Leave a Reply