Implementing pathfinding into 3d

Hi, i'm attempting to create an AI pathfinding that is grid based, i've created the pathfinding in console form so that it displays the program searching the grid by using different pathfinding methods(e.g breadth first) but i can't seem to fiqure out how to implement the pathfinding into a 3d world, i'm guessing that i'm supposed to create a 2d array (int array[10][10]) but from that i don't know what to do in terms of having an AI search the grid in the 3d world and finding the quickest way past the obstacles, it may be a simple transfermation from console to 3d but i don't seem to understand it, please help me out :)
Topic archived. No new replies allowed.