Calculating a swing from a grappling hook in godot 3d

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By uh no

I have a player (kinematic body) which has a camera with all rotational freedom (can look anywhere ) and i want to implement a swinging rope, where you can look anywhere and
1)the rope pulls the player to said body
2)the pulling takes momentum in all 3 vectors into account, so you can “swing” of walls and ceilings"
I haven’t the faintest idea how to start, so I’m asking this question here

Something like this?

ramazan | 2022-01-29 14:27

kinda, I was hoping for more of a swinging rope than a direct ray,

uh no | 2022-01-29 14:35