Crude, and just thinking aloud from looking at the diagrams: have a pivot just in front of your character, then once the pivot collides with the block, delete it [maybe disable character collision here], move the character up until you're a bit above the topmost y position of the block, move forward/arc as appropriate [re-enable character collision if disabled] and recreate the "there's-a-block-in-front" pivot...?