How to rotate the player based on a rope constraints rotation?


Currently I have this web slinging system I am working on. The rope is invisible but it is pulling on the player to create a pendulum type shape. However, whenever I turn in the video, my character stays upright and the beam that is attached to the same rope attachment is bent. How can i tilt the player based on the ropes rotation? I found an article on this but was confused on how to incorporate this into my code, so any help will be appreciated :smiley: