How can I fire a rope from the player and attach it to a surface and be able to retract it?

Hi! I want to make a game that mimics the popular attack on titan series, and i’m having some trouble.

So what i want to do is fire a rope from the player and attach it to a surface and then start retracting it, now my question is how, at first i tought of firing a physics based box into the wall, disable physics on hit and then impulse the player torwards it, but as you might expect it doesn’t feel like a rope, retracting whatsoever.

So can anyone throw some light into this?

Do a forum/answerhub search on Grappling Hooks. This seems to be a popular topic lately.

Hey EIREXE,

Zeustiak is correct in saying that this has been a trending topic. Here is a link to a popular grapple gun question:

Let us know how it turns out.

Thanks and have a great day!