# How can I make a grappling hook?

**URL:** <https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220>\
**Category:** Blueprint\
**Tags:** how-to, unreal-engine, question, Blueprint\
**Created:** [October 3, 2014, 10:20pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220 "2014-10-03T22:20:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a900d5e01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a900d5e01](https://forums.unrealengine.com/u/anonymous_user_a900d5e01)\
**Post date:** [October 3, 2014, 10:20pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/1 "2014-10-03T22:20:23Z")

</div>

Pretty self-explanationy.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0599cf61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0599cf61](https://forums.unrealengine.com/u/anonymous_user_0599cf61)\
**Post date:** [October 3, 2014, 10:37pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/2 "2014-10-03T22:37:37Z")

</div>

PT 1: [https://www](https://www)…com/watch?v=ym1hseCJl7c&list=UUEPTMZtcqG0-nsi1DtsKg\_Q

PT 2 : [https://www](https://www)…com/watch?v=1wTecExBm9o

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [October 6, 2014, 9:36pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/3 "2014-10-06T21:36:34Z")

</div>

Hi ,

Have a look at this tutorial I wrote up last week here:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Please let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![Interitus384](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Interitus384](https://forums.unrealengine.com/u/Interitus384)\
**Post date:** [November 29, 2014, 7:37pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/4 "2014-11-29T19:37:15Z")

</div>

I went thru that tutorial, but I couldnt figure out how to get rid of the rubberbanding effect, and to get the player to stay in place once he reached the goal.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [December 1, 2014, 5:05pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/5 "2014-12-01T17:05:19Z")

</div>

Hi ,

Try adjusting the branch nodes after your timer to accomodate a wider margin for error. By increasing this float value you give yourself more space to slow the character down. Further still, you can, once the branch value registers as false, set a temporary vector value of your player location, then force the grappling hook to set your character to that location until whatever other parameters you need to set are met. This will hold the character at the end point of your grappling hook until you determine that you want it to let go. The branch I am referring to is located below.

 ![22642-branch.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/7/dd756a861ba6cad0b3d5ab5e14cf7901e2f90ef9.png)

---

<div class="post-metadata">

**Author:** ![Interitus384](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Interitus384](https://forums.unrealengine.com/u/Interitus384)\
**Post date:** [December 2, 2014, 3:49am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/6 "2014-12-02T03:49:12Z")

</div>

Awesome thank you! I had to add some ConsumeMovement nodes, and a “Stop movement immediately” node, once I released the player his previous velocity affected him and I went flying up into the air. While fun, not what I want.

Is there a way to negate gravity tho? If I’m attempting to grapple onto something on a horizontal from my location, I fall downwards and the grapple fails.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [December 2, 2014, 5:05pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/7 "2014-12-02T17:05:56Z")

</div>

can you show me a screenshot or video of what you mean? What you can probably do is add force in the opposite direction of gravity or add an additional value to your Z when launching the character, that way it negates the affects of gravity. You can find what your gravity is currently set to in world settings, then offset by a positive amount to maintain your character in air.

---

<div class="post-metadata">

**Author:** ![WolvenKunai\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WolvenKunai\_1](https://forums.unrealengine.com/u/WolvenKunai_1)\
**Post date:** [March 20, 2015, 5:36pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/8 "2015-03-20T17:36:20Z")

</div>

I know this is more of a question, but can you detail what exactly is connected to the Close Gate Function? Because the guide confused me, and the picture shows the sequence node connected to something off picture. Also, if I wanted to create a rope actor to show a rope being shot out, how would I connect that to the main function?

---

<div class="post-metadata">

**Author:** ![venain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@venain](https://forums.unrealengine.com/u/venain)\
**Post date:** [March 23, 2015, 12:26am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/9 "2015-03-23T00:26:38Z")

</div>

- Thanks for making this tutorial. I’ve been trying to figure out how to make a grapple system for the last week and i’m still just hitting a brick wall.

Your tutorial explains each part of the blueprint very well, however it is desperately needing a section that explains how each part connects to each other. Even if this is just a screenshot of the entire graph. As is, I have no idea how to get this working.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [March 23, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/10 "2015-03-23T20:14:27Z")

</div>

Hi venain,

Here is the screenshot of the full setup:

 ![35479-grapplinghookfull.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/3/3533707ae9ad246fa9e92cbf98f9df727ef5f17c.png)

The way it should be set up is after the event pressed (G), you should run the trace. That execution should run into your branch/Cast to node. If the cast succeeds, send the execution to the gate for pulling an enemy, if it fails, send it to the gate to pull towards objects. If you need any additional info please let me know, I’ll be happy to explain more!

---

<div class="post-metadata">

**Author:** ![SwordsKeyboard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwordsKeyboard](https://forums.unrealengine.com/u/SwordsKeyboard)\
**Post date:** [March 18, 2016, 11:51pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/11 "2016-03-18T23:51:06Z")

</div>

Hey great tutorial, just one question. My actor is dragging on the floor when being dragged. How can I lerp some distance above the ground untill I get pulled in.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [March 21, 2016, 7:15pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/12 "2016-03-21T19:15:42Z")

</div>

Try adding to your vinterp z to see if that helps.

---

<div class="post-metadata">

**Author:** ![\_zone\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_zone\_1](https://forums.unrealengine.com/u/_zone_1)\
**Post date:** [October 24, 2019, 3:40pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/13 "2019-10-24T15:40:21Z")

</div>

Great explanation, but there’s a slight problem of it grapples onto a moving object. The grapple stays locked onto the initial grapple location so if you grapple a moving object, you just stay floating in the air.

---

<div class="post-metadata">

**Author:** ![Sniper\_Not\_Exist](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sniper_not_exist/32/883071_2.png) [@Sniper\_Not\_Exist](https://forums.unrealengine.com/u/Sniper_Not_Exist)\
**Post date:** [January 7, 2024, 2:50pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-grappling-hook/295220/14 "2024-01-07T14:50:05Z")

</div>

You can get rid of that rubber band/ cable effect by setting the visibility False, IDK if its gonna work for you but it did work for me!!
