unity world position to isometric
//Give the grid position of a world position
public static Node NodeFromWorldPoint(Vector3 world_position)
{
int x = (int)((world_position.x - 2 * world_position.y - node_radius - world_grid_position.x - 2 * world_grid_position.y) / (4 * node_radius));
int y = (int)((world_position.x + 2 * world_position.y - node_radius - world_grid_position.x - 2 * world_grid_position.y) / (4 * node_radius));
return grid[x, y];
}