Making AI

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
isiahil

Making AI

Post by isiahil »

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.
Dragon7
Posts: 7
Joined: Sun Apr 11, 2004 1:28 pm

Post by Dragon7 »

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.
Post Reply