(Picture from google to explain the question)
We are working on a turn-based top-view tactical game. We want our character to move based on mouse click. When clicked the character will move to the designated tile.
I’m thinking that in order to achieve this we need to generate a grid based on the 3d level model. The grid also needs to be able to detect level difference in height.
This images has a texture that shows the tiles of the grid.

Is this the correct approach? Can I get some directions on how to implement this kind of grid generation?
– edit –
We just had another idea, we could get the axes of the map model and draw a 3d wireframe grid with gizmos. Then we can position path nodes by clipping to the wireframe which are walk-able / climbable terrain for our character.I would also appreciate feedback on this.
