I am currently developing an indie title with a character who has skill similar to the effect you achieved here. I went ahead and built this set of blueprints with some slight modification and it worked very well. I liked the clarity and no nonsense approach of the tutorial. Thank you for posting this :)
Thank you for the very helpful tutorial, Unain! Similar to don III, I was also wondering how to make a basic swinging grappling hook? If you could offer any guidance on that, it would be thoroughly appreciated!
This is an awesome guide man. I changed it up a bit to make it pull players into the caster. Kinda like Roadhog from overwatch. You seem good at UE4 I think you should keep making fun tutorials like this. Maybe recreate all the different overwatch abilities or something
Thank you! This problem has been troubling me for a few days now. I didn't even know there was a cable system in UE4! I was making complicated plans for an emitter. What a mess that would have been! Makes me wonder what other toys I've been missing...
it should work just the same in a third person ans in the first person, the only thing you would have to change is the first person reference which you would change into a third person reference, :D
For the move player there is a slight issue I found, the world delta seconds will change depending on the frame rate so you will move different speeds across different frame rates. The solution is very simple for the launch character in the movegrappleplayer event just plug in: [(Hook Location) - (GetActorLocation)] +| [(Hook Location) - (GetActorLocation)]* 5.0| If you don't get what I mean, I made a video detailing it, go to 6:16 here. In this video I also made a releasing mechanic where as soon as you release the grappling button it releases the player from grappling, if you want that for your game go to 8:51. Admittedly my explanations are very poorly done but you should just be able to copy the code: ruclips.net/video/nMdQ4SCKb2w/видео.html I hope this helps someone in their game making endeavors.
Is there a fix to the change in camera due to the addition of the cable? You can see on the video that part of the player model becomes visible in the viewport.
i tryed to Change the Array but it didnt help. if you could help me with changing the traits of the skybox to traits that doesnt overlap with the ones in the Array i would be very thankfull
How do I change where the grapple originates from? I brought it in to the third person game, but the grapple keeps coming from the center of the capsule. I'd rather have it come from the hand or something.
Add a billboard component (or any other non-consequential component) and name it "AttachPoint" and parent it to the skeletal mesh. In the "Parent Socket" section in the details panel make sure it's set to the hand bone or something so that it follows the bone and position it to your liking. In the cable competent details find the "Attach End To" section and write "AttachPoint" in to the "Component Property" text box.
Add a billboard component...ok.... Name it..."AttachPoint" Ok. Parent it to the skeletal mesh. Ok Set to hand bone..... then what? Because this didn't do anything.
Brimm Stone. Then set the cable as a child of billboard and in the Details Panel of the cable find the Attach End To and there should be something called Component Property type there your billboard name "AttachPoint" in your case
Hi Unain, I love your Tutorials. Had an issue her though, I had to add GetworldLocation (Camera) into the SetWorldLocation in the 'StopGrapple' chain, else the grapple resets to the default player spawn. :)
The dropbox link no longer seems to work :( I've got my grapple working, but there's some strangeness going on with the end of the hook never leaving 0,0,0 and I would love to be able to compare what i've got to a saved file
can somebody help me with a Problem ? the Problem is that when thehook doesnt reach any nearby objects it conects to the xyz axis of the skybox pls help thank you
I am trying to do this in third person and I can't seem to make it work. It fires off almost right underneath me and doesn't fire every time I press F(if that helps narrow it down?) If anyone can help me let me know.
hi i'm currently a video game design student and was wondering if you could convert what you did in this tutorial to a 2d side scroller with just a miner change or would it have to be a major change?
Copy pasting from Ben's answer to my same question bellow: "Add a billboard component (or any other non-consequential component) and name it "AttachPoint" and parent it to the skeletal mesh. In the "Parent Socket" section in the details panel make sure it's set to the hand bone or something so that it follows the bone and position it to your liking. In the cable competent details find the "Attach End To" section and write "AttachPoint" in to the "Component Property" text box."
I've followed this tutorial for 1st person and I made it for 3rd person, and neither worked. The grappling hook doesnt pull me, nor does the camera have any precision, and it doesn't attach to round objects.
NVM found one, although it's not presented as a vid on youtube I believe it will suffice, if you want to make a tutorial then that'll be really helpful. The link is wiki.unrealengine.com/Grappling_Hook_Tutorial
You can divine my thoughts! I have searched the complet last week for a grappling hook tutorial! :-) Please make more tutorials. I hope you can make one to a flying pawn (helicopter and plane). (Sorry if my english is bad. I normaly speak german. )
+Unain Would you be able to explain please? I'm using the third person template, But I've attached the camera to the head of the player to create a nicer first person. So I'm not very sure what to do :P
I am currently developing an indie title with a character who has skill similar to the effect you achieved here. I went ahead and built this set of blueprints with some slight modification and it worked very well. I liked the clarity and no nonsense approach of the tutorial. Thank you for posting this :)
Thank you for the very helpful tutorial, Unain! Similar to don III, I was also wondering how to make a basic swinging grappling hook? If you could offer any guidance on that, it would be thoroughly appreciated!
Thank you so much. This was the best grapple tutorial i have ever seen. I couldnt find one that i wanted but this one is perfect. Great job
Awesome the way you did this is so smooth the grappling rope follows where the crosshair is which makes it more accurate.
this really helped a lot for my school project. i looked for a long time and finally found this video. thanks!
This is an awesome guide man. I changed it up a bit to make it pull players into the caster. Kinda like Roadhog from overwatch. You seem good at UE4 I think you should keep making fun tutorials like this. Maybe recreate all the different overwatch abilities or something
would love to see you do a follow up to this ! love yr series on the hour of code btw
@@primitivepatterns Woah crazy how my old comments will start getting replies. Uh oh I better start clearing them out xD
@@UnrealEngineTutorials watch out! here come the notifications!
working fine, like justcause 2 :D , just now i need to replicate it
Thank you! This problem has been troubling me for a few days now. I didn't even know there was a cable system in UE4! I was making complicated plans for an emitter. What a mess that would have been! Makes me wonder what other toys I've been missing...
the grappling hook doesn't work if there is a moving platform that is being moved via Component Move To.
Will this work for 2d Games? Im making a hard 2d Game And i wanna Have a grappling Hook feature
Thank you :-) After I started playing Titanfall 2 I cant possibly build any game without a grapple hook :-)
Used this for my paper2D project and it works excellent ! Thanks.
Can you make a video how do you convert it so for third person?
yes pls
Yes Please
it should work just the same in a third person ans in the first person, the only thing you would have to change is the first person reference which you would change into a third person reference, :D
I tried it on 3rd person mode but the grappling hook wont pull the character towards it. @@GameChanger77
after change to 3rd camera, you should change Tracing Method from gun to aim location ( not from camera view to aim location )
Would this work without the pulling mechanic , just a basic swinging grappling hook ? and is the rope a physics simulation in this case ?
if you got the problem that you just get stuck when pressing f or it shakes you crazy, just use a linetrace by channel. It worked for me.
What is the spesifc changes you did i want to know to see if it work with mw
My problem seem semerial to your problem but when i press f it grapple my player to the spawn point
How easy would it be to adjust the blueprint to check an object parameter to see if it is light (pulled to player) or heavy (player is pulled to it)?
Allen Cunningham if you are still wondering about this, i think i can help ya.
I great tutorial but i have one problem the grapple hook line move with my camera when im grappled/grappling
What would happen if we didn't delete the spawn projectile part?
nothing happens. you can both shoot projectiles and use hook
Hey! I have a problem, when i press key the cable is going to the center of the map, it don't attach to any walls :c
For the move player there is a slight issue I found, the world delta seconds will change depending on the frame rate so you will move different speeds across different frame rates. The solution is very simple for the launch character in the movegrappleplayer event just plug in:
[(Hook Location) - (GetActorLocation)] +| [(Hook Location) - (GetActorLocation)]* 5.0|
If you don't get what I mean, I made a video detailing it, go to 6:16 here. In this video I also made a releasing mechanic where as soon as you release the grappling button it releases the player from grappling, if you want that for your game go to 8:51. Admittedly my explanations are very poorly done but you should just be able to copy the code:
ruclips.net/video/nMdQ4SCKb2w/видео.html
I hope this helps someone in their game making endeavors.
Is there a fix to the change in camera due to the addition of the cable? You can see on the video that part of the player model becomes visible in the viewport.
What a life saver! Thanks a lot!
looking for a uncharted rope system tutorial
please
i tryed to Change the Array but it didnt help. if you could help me with changing the traits of the skybox to traits that doesnt overlap with the ones in the Array i would be very thankfull
Is there anyway to get that working on VR?
how do i put 2 cable I want to play attack on titan
How can adapt it to 2D game?
I do not work, I can not jump when I want and when I press the key to use the GrappleHook it brings me to the center
same issue
Thats like widow makers hook AWESOME
How do I change where the grapple originates from? I brought it in to the third person game, but the grapple keeps coming from the center of the capsule. I'd rather have it come from the hand or something.
Add a billboard component (or any other non-consequential component) and name it "AttachPoint" and parent it to the skeletal mesh. In the "Parent Socket" section in the details panel make sure it's set to the hand bone or something so that it follows the bone and position it to your liking. In the cable competent details find the "Attach End To" section and write "AttachPoint" in to the "Component Property" text box.
Add a billboard component...ok.... Name it..."AttachPoint" Ok. Parent it to the skeletal mesh. Ok Set to hand bone..... then what? Because this didn't do anything.
Brimm Stone. Then set the cable as a child of billboard and in the Details Panel of the cable find the Attach End To and there should be something called Component Property type there your billboard name "AttachPoint" in your case
Thank you Ben :D
@@blairebot7888 4 years later but your comment helped me out ty
you explain very well
Hi Unain, I love your Tutorials. Had an issue her though, I had to add GetworldLocation (Camera) into the SetWorldLocation in the 'StopGrapple' chain, else the grapple resets to the default player spawn. :)
The dropbox link no longer seems to work :( I've got my grapple working, but there's some strangeness going on with the end of the hook never leaving 0,0,0 and I would love to be able to compare what i've got to a saved file
Good point, dropbox changed public links. I've re-uploaded the project to google drive. Download in description!
how do i open the download
can somebody help me with a Problem ?
the Problem is that when thehook doesnt reach any nearby objects it conects to the xyz axis of the skybox
pls help thank you
why can't I create a "Even beginplay"? it brings me to the event beginplay in HMD and MOTION controller
please help
remove that section don't need it
Same
is there anyway to implement this to work with a 2d side scroller
I am trying to do this in third person and I can't seem to make it work. It fires off almost right underneath me and doesn't fire every time I press F(if that helps narrow it down?) If anyone can help me let me know.
hello ^^ you can do this but for the third person controller ? ^^
hi i'm currently a video game design student and was wondering if you could convert what you did in this tutorial to a 2d side scroller with just a miner change or would it have to be a major change?
I am currently working on a Third person character and i can not seem to attach the start of the hook to a socket in my hand. Any advice ?
Copy pasting from Ben's answer to my same question bellow:
"Add a billboard component (or any other non-consequential component) and name it "AttachPoint" and parent it to the skeletal mesh. In the "Parent Socket" section in the details panel make sure it's set to the hand bone or something so that it follows the bone and position it to your liking. In the cable competent details find the "Attach End To" section and write "AttachPoint" in to the "Component Property" text box."
I've followed this tutorial for 1st person and I made it for 3rd person, and neither worked.
The grappling hook doesnt pull me, nor does the camera have any precision, and it doesn't attach to round objects.
I think you should share the problem insted
Ad of saying it doesn't work it will help better
Hi nic tut can I do it in the sidescroller aswell ?
Can you make a Dark Void style jetpack?
Change as the Blue unreal engine character, on the one created by me in Mixamo Fuse ??
thanks for the Tutorial
how would you do this in a 2d game?
Can you PLEASE make a tutorial about some kind of mount like a horse or a car ? PLEASE
working like a swing but still good might actually use
does this even work in 4.45.4 tho ?
Can you guys make a tutorial making a HOOK like pudge? Bringing items or people to you?
NVM found one, although it's not presented as a vid on youtube I believe it will suffice, if you want to make a tutorial then that'll be really helpful. The link is wiki.unrealengine.com/Grappling_Hook_Tutorial
thanks for your link and manual of the grapping hook tutorial,i m soon converting it in video tutorial wait till i tested it myself on my pc.
thanks for the tutorial man
You can divine my thoughts! I have searched the complet last week for a grappling hook tutorial! :-)
Please make more tutorials. I hope you can make one to a flying pawn (helicopter and plane).
(Sorry if my english is bad. I normaly speak german. )
ok so everything is good except when i *am* able to grapple something,the movement gets really funky
Awesome!
Does it work with a 3rd person game?
+Moosen Bow It does, you just need to adjust the aiming. The general moving of the character/rope is the same for first person and third person.
+Unain thx :)
+Unain Would you be able to explain please? I'm using the third person template, But I've attached the camera to the head of the player to create a nicer first person. So I'm not very sure what to do :P
+Unain I am very new and just 12 I want my game to be 3th person but I do not understand what I need to change
+BingoBuddy1 wait I should make it first person it looks better
Is this working for VR?
Nope it is not
Hello fellow Dutchman.
Thanks bro
And now do this in multiplayer :)
17:03
setting a time mark
Muito maneiro.
You should make so people can download the blueprint
+BingoBuddy1 ⌂ He has theres a dropbox link in the description which will give you a zip file contatining the project.
I Can't find :stop grapple
Awesome!
does this also work with a third person character