|
• Navigation Mesh
-hi there!
I'm implementing the Ai for a FPS Game. I have implemented the PathFinding with a nice structure of nodes connected with pointers! C++ code..
Each node has an unique Id (integer) a position and the vertices of the triangle corresponding to the navigation mesh triangle.
Now I'm having a problem.. How do I now where a certain game Object is in my pathfind structure. I mean a Bot is in position x,y,z how can I now what cell is it??
Ideas please....
|