Hi everyone,
I have implemented pathfinding on 2D grid, I can provide start and end index and get the valid path in array.
.
The function that I have created:
vector<int> Pathfinding(bool* Grid, int StartIndex, int EndIndex, int GridWidth); // bool* Grid (array: true = open node, false = closed node)
Now, I'm looking to use this function in the 3D environment, I'm not sure about the right way to accomplish that
I have a terrain and building with two floors and the character should be able to walk in and outside the building and even walk on stairs and climb ladders.
What are the possible ways?