Cable component on hit

Hello I have made a grappling hook using a cable component and it works fine my issue is when I use an on hit event from the cable component and I strike another player in my mp game it does nothing to them so I’m wondering if I’m missing something

It is difficult to say without seeing the BP that you are using.

I assume in the player character its self is where the event hit is being called, and that you have cast to the cable component BP as “other actor” or hit actor. you are then running some sort of code to take damage/reduce health of the player being hit?

From my experience with the Cable Component, it does not generate hits even though it simulates physics and can have full collision (which is a hidden option that has been flagged as Experimental for years now…). Someone please do correct me if I’m wrong here.


What’d I do, I’d fire a line / sphere trace. Or even sweep a component to get a hit and use the cable as a visual element only. Since it’s a grappling hook, you surely want to rely on the hook for the hits, rather than the cable itself.

But I’m not sure what the desired end result is, of course.

this is the code where it hooks on to things it fires a line trace the cable is just to represent something and i was not going to reduce health just wanted to have it so when it hits it knocks the other player back a few feet in the opposite direction they were hit

I would suggest having a read of:

and also check out this video:

You probably want to be using the hit location and the normal in order to drive direction of impulse.