i have already managed to make an offset to the non-walkable nodes in my game using this:
if (((float)gridNode.position.z / 1000f % 2f) == 1f)
{
gridNode.position = new Int3(gridNode.position.x - (1500), gridNode.position.y, gridNode.position.z);
}
because my tiles in my hexagonal game are 3 units tall and i actually don’t know how to change that, didn’t write the code myself.
BUT the walkable nodes don’t change position. they just stay in the original position like this:
and that’s a problem.
how would i fix this?