I am trying to make ai in a FPS, i want to make the AI have a fov in front. and if the player is in the fov a ray is used to determine if a wall is in the way. How would i go about making the fov on the computer node.
Not too hard. Practicly, have a map plan with connected nodes where the enemies can walk, have seperate points where they have to do something special, such as jump. Then, you could have a simple 2d raytracing to see wether someone is in line of sight, and if so, shoot.