How can I draw a rope between my player and object?

Hi, I have a player that lands a weapon and then it goes back to him, he controls it with a rope, I alredy have that part of code, the problem is I dont know how to create a rope between them with no physics just a visual effect so the weapon is more realistic, I saw that 2D joints can do the trick but I have no idea on how to use them.

Also the ball is a prefab that destroy each time it goes back to the player.

Any ideas on how I can achieve this? thanks

I mean… you can use a line render but there is no bend.

thanks for the reply I finally i did it with a line render like u said, I also tryed with hinge joint2D with some links and then the weapon but its like it has his own movement and can’t handle when I add the force, would be possible to ignore his own movement and use mine?

I mean with a week of iteration you could probably get it to work but I find that simple is best. Don’t get frustrated wasting time on simple stuff that you make harder than it needs to be. Finish the whole game then come back and tweak stuff like this.

Hmm…you might look into using the cloth component?