Grabbing ledges?

Hey
I want to put a heave/climb function into my game.
I’m talking about the bits where you have to climb into a vent I’m going to provide a example from mirrors edge even tough it was made in a different engine it can be done in unreal (It was in bioshock infinte)
If anyone could help with this or provide a tutorial that would be great =)