My requirement is to move a 2D characters with perspective view images has to wander in game area by choosing dynamic path and according to that the AI character has to switch the
animations based on its current direction and Ai character has to get collision between Ai Character, Ai and Player Character , Ai to Static Obstacles, Moving Obstacles .......
What i done till now is , AI chooses the random Way point and based on its direction it switches the animations and using Ray-cast AI detects the collision with static obstacles, but the problem here is with the Moving Obstacles since AI is casting the ray in one direction, some times AI character was walking on the obstacles like moving cars ..
So please tell me how to solve this problem ???? Thanks in advance
I think i have give you complete details about my requirement and my problem. And i am looking for good solution as i am doing the AI programming for the first time i don't have an idea how to approach this problem .please give me answers