Hi, everyone.
I’m new to game programming, so I don’t have the experience to tackle this problem. I do have a hint of what might be the solution, but I don’t know if this is the optimal (or standard) way of solving the matter at hand.
Let me explain: In a TBS game, I will use A* for the pathfinding. Since my map is designed in 3D using Blender, how can I apply an invisible grid on it, to map its coordinates as “tiles”, in order to do the pathfinding? Must this be done in Blender, or in my 3D engine (JME)?
Also, how to map cost information to each “tile” in the terrain?
Or even, is the best approach to model only a “block” of the terrain, attaching cost information in a class representing this block, and render the entire map using a set of blocks?
Sorry for the questions if they’re noob, but I’ve searched in Google for insight and could not find something applying to my problem. :-[
Thanks in advance,
Son Of Cain
