Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How can I make a grappling hook?

Pretty self-explanationy.

Product Version: Not Selected
more ▼

asked Oct 03 '14 at 10:20 PM in Everything Else

avatar image

2 stooges
100 19 28 36

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi 2 stooges,

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


Please let me know if you have any questions.

more ▼

answered Oct 06 '14 at 09:36 PM

avatar image Interitus384 Nov 29 '14 at 07:37 PM

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.

avatar image Adam Davis STAFF Dec 01 '14 at 05:05 PM

Hi Interitus384,

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.

alt text

branch.png (52.4 kB)
avatar image Interitus384 Dec 02 '14 at 03:49 AM

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.

avatar image Adam Davis STAFF Dec 02 '14 at 05:05 PM

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.

avatar image venain Mar 23 '15 at 12:26 AM

Adam - 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.

avatar image Adam Davis STAFF Mar 23 '15 at 08:14 PM

Hi venain,

Here is the screenshot of the full setup:

alt text

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!

avatar image npcSwords Mar 18 '16 at 11:51 PM

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.

avatar image Adam Davis STAFF Mar 21 '16 at 07:15 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
more ▼

answered Oct 03 '14 at 10:37 PM

avatar image

371 55 49 64

avatar image WolvenKunai Mar 20 '15 at 05:36 PM

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?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question