Hello everyone!
I’m trying to create an extendable rope system in my game but I’ve been stuck for the past few days.
It looks like this:
Let me explain the problem:
I have a Source and my Player character. The Source is static and a rope comes from it and is attached to my Player. The thing with this rope is that it can extend. The farther my player is from the source, the longer the rope gets. I also want my rope to be able to interact with the environment and get stuck in it. My rope also has a maximum length and will stop extending at a certain point, blocking the player and preventing it to go further.
I tried various solutions already like creating ropes divided in line traces sections, meshes linked with physics actors or skeletal meshes. One of it could work but maybe my maths or the way I approach physics in the engine were wrong.
Could you help me with my problem?
Thank you very much and have a nice day!