@Randoriify Continued.... If you want more precise lines through each navigation tile you can subdivide each tile objectively by creating 2 D arrays of 2 D arrays of 2 D arrays of type "NavMap". The "NavMap" structure could hold pointers for rendering the red line though the shape ..etc. Because a line path though a huge square is basically the same as a path though a subdivided square. This could work using C++ with some tweaking. Your path finding algorithm could even be recursive(subdivide).
How are you representing the navigation tiles? You could try creating a structure "NavMap" that holds a coordinate value and a pointer to a geometric shape type. Then use a 2 dimensional array of type "NavMap" for the location of each navigation tile. Each array value will represent a navigation tile,and will make your path finding heuristic work as designed. For simulating the actual crossing of the square shaped navigation tile you can bisect from corner to corner,or midpoint to midpoint etc.
@Randoriify Continued.... If you want more precise lines through each navigation tile you can subdivide each tile objectively by creating 2 D arrays of 2 D arrays of 2 D arrays of type "NavMap". The "NavMap" structure could hold pointers for rendering the red line though the shape ..etc. Because a line path though a huge square is basically the same as a path though a subdivided square. This could work using C++ with some tweaking. Your path finding algorithm could even be recursive(subdivide).
Randoriify 1 month ago
How are you representing the navigation tiles? You could try creating a structure "NavMap" that holds a coordinate value and a pointer to a geometric shape type. Then use a 2 dimensional array of type "NavMap" for the location of each navigation tile. Each array value will represent a navigation tile,and will make your path finding heuristic work as designed. For simulating the actual crossing of the square shaped navigation tile you can bisect from corner to corner,or midpoint to midpoint etc.
Randoriify 1 month ago
he want's to go around the block to flank maybe?
Tha1DJPLex 1 month ago in playlist Uploaded videos
The distance to the corner of the block is short, so maybe it is going there first?
Are you using A* at all?
slenkar 4 months ago