New Line Renderer system with moving object.
Hello.
I'm currently developping a game, and have been losing 3 evenings on this problem, right after updating to version 2018.2.5f1.
I just want to draw a line between two moving objects. One of them holding the LineRenderer component. Until now, everything worked perfectly, and I only had to set both point location to my two moving objects location.
Now I can't get it to work anymore, whether I use "world position" (object holding the LR can't move...), or if I disable it, and do some coordinate substraction with the LR holder's one.
Why did you have to change LR's behaviour, and how can I get it to work ? The only thing working is having a separate third GameObject holding the Line Renderer, which I find stupid.
I'm in my game instantiating "turrets" prefabs, with Line Renderers already attached.
I couldn'd find any answer on the forum. Will I have to downgrade Unity, just to get the old LineRenderer back ?
Thank you.
Easy solution: downgrade to 2018.1 have really not much trouble.
In some case, If you drop your old code into new Gameobject and new scene, it might magically work.
In worst case, Just create a fresh project and copy entire code base into new one.
Answer by karl_jones · Aug 29, 2018 at 03:28 PM
Can you file a bug report, please? The behaviour should not have changed the way you describe.
Your answer
Follow this Question
Related Questions
Line Rendering for 2D Connect the Dots Game 1 Answer
Line renderer not working 1 Answer
LineRenderer in 2D not reusing positions 0 Answers
how to draw in 3d using pipelines,drawing in 3d through pipeline 0 Answers
Trouble pixelating a dynamic line. 0 Answers