If you are using inverse kinematics, you can let the "foot" folow an imaginary path you code to move from the start position to the target position. The path can move directly from A to B, with some added height along it, based on the distance to the target.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…