So this is a small prototype I have made for calculating a path with a minimum turn radius. I should make the radius a slider, but haven't yet.
The big obvious known bugs:
1. Weird loopty loops are sometimes chosen as best path (floating point error?)
2. the line check is wonky, and should do width as well, so right now you can pass between two diagonal blocking tiles (xu's line should fix)
3. I got lazy and don't animate the tank moving on the path.
4. Occasionally you can drag the arrow/facing to a place and it chuuugs. But doesn't enter an endless loop, at least.
Edited by ferrous, 03 January 2014 - 01:10 PM.