Grappling Hook glitching when firing to far

I was trying to make a grappling hook by following these tutorials
https://www.reddit.com/r/unrealengine/comments/emb5pb/grappling_hook_text_tutorial/
https://www.reddit.com/r/unrealengine/comments/empxb3/grapplinghook_text_tutorial/
They worked but for some reason if i try to use it really far away it glitches out and just get sent flying towards where i shot it even though the linetrace hit it
This is the code





Any ideas?, anything helps and thanks in advance

Add a grapple limit.

i can but that doesnt really fix the issue, i want it the grappling hook to be able to reach further but when it shoots to a spot thats too far it just glitches, sorry for not making it clearer

its ok but by glitches what do you mean?

I start to just flail around and hit walls like in fallout 3 until i just get sent flying towards where i shot it

I see in the code that set attach end to node is set to none. Is this on purpose?

do you mean the “Component Property” and “Socket Name” or the “Execute Node”, either way its intentional and also the “Execute Node” isnt connected to anything is because i dont know what to put in it

The one in This image

yes, that was the one i was talking to
sorry for not making it clearer

Maybe A problem with collisions

You are add a lot of force to the character
distanceforce

It shouldn’t be a constant value. It should be varied based on target distance to target.
If you have a far enough distance then the character will have the time to accelerate to that astronomical acceleration.

As for the value you need to experiment with the distance from the char to the target.
Try a value divided by the distance. Then the further away you are it will be lower.
You can experiment with a lerp between two set values based on distance.

Hard to say which option will be better without building a prototype.

thanks man, ill try this later

Is it fixed?