I am making a rope swinging system similar to Uncharted 4. In order to swing, I attach the capsule of my character to a hook mesh with a physics constraint component in the hook actor. (I also attach a rope to that hook for visual purposes)
It works very well but now I’m trying to make the character climb up/down the rope without stopping the swinging motion.
I tried setting the character location or adding a world offset but the physics constraint immediately snap him back into place.
I tried breaking the constraints, moving the character and then resetting the constraints but this stops the swinging motion and just looks weird.
I would like to be able to change the distance of the physics constraint between the hook actor and the character in runtime to make it seem like the character is climbing up/down without stopping from swinging but I have no idea how.
Thank you very much for your help!