Hello! Simply put, I’m making a tactics game, and using ConstantPath.Construct() to find all nodes within reach. I want my characters to make diagonal movements. However, I want the cost of a diagonal movement to be 2 (or 20000 gcost), not 1.4. I suppose I could have 2 identical grids, 1 for movement and 1 for calculating valid nodes, with the calculating grid being a 4 point connection and the movement one being an 8 point, but that seems messy and I’m worried it might introduce bugs if I accidentally plug in the wrong grid while coding. I’d rather have it contained to the script in charge of finding a valid path.
This shows the results I’m getting with some advanced editing techniques (MSpaint) to mark the parts of the grid I don’t want to be available