Cable swinging with a rolling ball

Hello everyone. So I’m trying to make a 2D game where you have a ball that rolls around and upon pressing a button a cable is attached to it and you can swing from it. This sounds simple in principle, but it’s proving to be a bit harder than I initially anticipated. I’m semi new to UE, especially in regards to its physics simulation, so I figure this would be a good starting project. My problem is that attaching something to the end of a cable actor only seems to work if the thing you’re attaching to it isn’t simulating physics. Really I’d be open to any sort of advice you have to offer, and thanks in advance.

Clingbeetle,

Have a look at the CableComponent page in the UE4 docs for a great explanation of how cable actors and cable components work, and some examples of how they can be used. Included on that page, about halfway down, are instructions for how to attach dynamic physics objects to one or more ends of a cable. There’s even a quick 10-second video that demonstrates the exact behavior I think you’re looking for.

Hope this helps!