Animating polyline from point a to point b
How do you animate the polyline from point a to point b?
I use navmesh.calculatepath to get the corners then put that on the polylines points.
I animated the LineRenderer before but it's the performance and clipping issues made me switch to Shapes Polylines.
I can't seem to use the Vector3.Lerp on the IEnumerator because it's only drawing one line and it's on reverse
the link seems down for me - are you trying to make a polyline reveal animation? if so, this code might help
also, you shouldn't call DrawShapes from a coroutine - there's information in the immediate mode docs on the dangers of doing so!
as for billboarding, set your polyline to Flat 2D instead of Billboard. or, in immediate mode: