Direction oriented pathfinding in video games