How to set end location of a cable to a specific location

Hello all,

I am looking to create a grappling hook in my game and I am using the cable component to achieve this. The player must be able to hook / grapple to a specific point in the world. The problem I am facing is that I cannot get the cable to attach to the grapple point.

I am able to get the location of the grapple point (the orange sphere) via ray tracing but the problem is when I try to set the end location of the cable to the grapple point, it ends up in a totally different location as you can see in the picture.

Here is the blueprint setup for where I think the problem is.

Can anyone point out what I am doing wrong or am I missing anything important?

i’m kinda having a similar problem but i don’t know the fix, but on your case you can use the… “Set attach End to” and select the ray tracing actor hit, that should fix it… the other way i found (that i have no idea why it works) is inverting the actor location to the end location every frame, and setworldlocation on the cable to the actual raytrace hit (dunno if it’s clear).

I found out that the end location is relative to the start location. However, I also did not find a way to set the end location via blueprint. Anyone?