Weeee! Legs really all-terrain!
But position maybe better calc as fixed to world and move to closest to pivot viable point when too far from last and interpolate. It's classic for non physical legs.
It works exactly like that, but its rather janky. Ill try to mess with it a bit more