Line Renderer Wave

I am making 3D hook effect with the line renderer tool as in the video below. When shooting hook, I want it to make a simple and natural fluctuation/wave just like in the video. Do you think it is possible to do this with a line renderer. What should I do?

Example Game:
im23g0

just sine/cosine wave along the distance, super easy - barley a line of code.
also not a physics issue unless you’re talking about simulating the rope physics.