How can I explore a path with A* (or another) by taking care of a rectangle collision ?
I have a 2d map, where I know for each coordinate if it is an obstacle :
For example, dark tiles are not traversable :
I use A* algorithm to find path, where for a given point, all around successor are possible with a variable cost. There is a visual example (game is top view):
How can I make a A* (or other) algorithm taking care of obstacles for a (for example) vehicle ?. In the previous image example, a man can use this path, but tank. should not