The script is generating lots of garbage, so I wrote a fix. It's also faster now. I removed a functionality to increase the speed. It's no longer possible to dynamically add more points. You have a fixed number of points that is set at start (MaxPoints).
The script is generating lots of garbage, so I wrote a fix. It's also faster now. I removed a functionality to increase the speed. It's no longer possible to dynamically add more points. You have a fixed number of points that is set at start (MaxPoints).
New script is attached: MoveableLineRenderer.txt