Hi,
How can i find out the value (Vector3) of a certain lineRenderer position at a particular index? I see the array in the inspector but I can’t seem to be able to access it ![]()
Hi,
How can i find out the value (Vector3) of a certain lineRenderer position at a particular index? I see the array in the inspector but I can’t seem to be able to access it ![]()
I store my vector3’s in a
private List<Vector3> linePositions;
And edit those positions prior to setting the vectors in the line renderer in my update loop, etc. I believe that this is the preferred implementation pattern based on the availability of points in the line renderer component.