More advanced Top down enemy AI
So I have a top down shooter i am working on, its free roam on the x and y axis. I currently have a simple enemy AI script so that the enemy points in the direction of the player and adds thrust. It uses a raycast to check if in range and pointing in the right direction so the enemy ship can attack. So at this point the enemy just follows the player around and shoots at it.
What i would like to implement is a kind of bomber-run like movement where the enemy makes passes at the player cargo ship, attacks, turns around and starts another bombing run. (Think homeworld bomber AI.)
I'm not looking for any scripts or anything (though it'd be nice lol) I am just at a loss at how to do it. Should i be utilizing the navmesh stuff, A*, or be using scripts and raycasting, something else? If someone could give me a basis on where to start that would be very helpful.
Your answer
Follow this Question
Related Questions
Top down space AI pathing? 0 Answers
Enemy AI following player help 0 Answers
Enemy walking off platform in Unity2D 0 Answers
Trouble making jumping spider enemies 0 Answers
Can no1 help me??? 1 Answer