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

anonymous_user_ce1432d6
Sat, 24 Nov 2018 08:50:22 +0000
Blueprint

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?

3 posts - 3 participants