Version with non grid based movement. Uses Raycast all and then sorts the returning lines. Still to solve the rotation of the rows/columns