Grappeling hook

so i want to make a grappling hook that you swing with your mouse (drag and release) and make you able to climb up with it.

Any ideas on how to achieve this?

i think i can figure out the throwing part, but hooking it to something might be tricky

There’s an example of this by Epic called swing ninja. Definitely worth investigating.

yea i already checked that out, but thats something totally different from what im trying to acomplish

Why? Same principle.
Shoot hook from hand to desirable point and then move character towards this direction. Or you mean something else?

no, because what i want is the hook to be affected as a physical object,
not shoot in a traced line and as soon as it hits something pull the player toward the point and reverse direction.