rock5 wrote:The problem with this is it could take you where you didn't want to go, for instance off a cliff or aggroing a mob you didn't intend to such as an elite or boss.
Hm I also thought about it and I thought again the only times I can think of is the same when the current unstick() will properly fail too. It is just so that this algorithms seeks the most direct way to its target means it hate going backwards into the opposite direction from where the target is, so to fail the cliff must be in the direction before you and the point must be on the other side also before you. I know only one of such case when you mist a plank bridge and stuck on pole you have 2 choices which is the better answer ? You have a 50:50 chance to get the right answer.
Okay if wanted to make it perfect I would scan for a elite mobs between each move and block the direction dynamically to it, what we also can do is register the fall and seek for a path in the near to go back (and close that direction we fell off behind us).... but this really complex.