I created an empty game object and added a Line Renderer component to it through a script. I thought that once I adjust the position of the game object, it would do likewise for the line rendeder, but that is not the case.
useWorldSpace = false but it totally changed the positions making the following points a straight line, though I was able to move the game object to to the line.
public Vector3 beginPos = new Vector3 (-1.0f, -1.0f, 0); public Vector3 endPos = new Vector3 (1.0f, 1.0f, 0);
Is there a way I can convert points to input what I am more familiar with (so that points like the above points don't create a straight line) or should I be approaching the problem in a different way? I am open to a different approach.
I think I left an import detail. I'll be using lines made with line renderer to create shapes. So I need to be able to be able to move the lines around to move the shapes so I don't have to always recalculate the start and end points for the lines.