how to create a swinging hook to my player?

i wanna create a swinging hook habiliti like spiderman ?
i know how to do a grappling hook but now i wanna know how to do a swinging hook