Hi,
I am trying to use the Bresenham line algorithm to do basic visibility checks, assuming that if a node is not walkable then it is also opaque. To achieve this however, I need to know the current grid x and y position of a node. Can you tell me how to find a gridnode’s x and y position in the grid, or perhaps is there a better way to tell if there are any nodes between 2 points that are not walkable?
thanks