Pathfinding with mouse problem
Posted: Sat May 21, 2011 2:39 pm
There is a serious usability problem with pathfinding if using mouse interface. If user click on the location all path to which are blocked by traps, character move into random available location (whenever A* stop). That is especially problematic because known traps are invisible in blacked-out areas. More logical behavior would be run pathfinding without taking traps into account and after finishing pathfinding algo pass check for known trap each step and stop before stepping on trap. Traps on distance 1 should be ignored at all.