I have a character linked by a rope to a fixed point, in an environment with obstacles. I want to do a pathfind that take into account the rope.
Here, if the character followed my current pathfind in yellow, he would get stuck.
I want to find the blue pathfind instead.
To be more specific, I want to find the path so that the rope is the less "tense" possible when the character reach the target.

Another example with more obstacles:

I really don't know where to begin (Custom A* ? Graph theory ?) and would appreciate any help or documentation on the subject.