I wonder how to make something like in this gif:
just simple line, which is making, by touching a screen anyway - while the finger is on the screen, the line is creating toward specified direction, and streching without end (out of the screen for example). And when I pull of my finger from the screen - the line comes back to the begining. And I want to make object, which can change the directions of the "line". How to make that? I think it will be something like little dot which has movement, and which makes trail after itself.. But how to make that? It should be maked with a lerp function?