What steps will reproduce the problem?
1. Paths with > 20 points will not draw properly in the scene view.
What is the expected output? What do you see instead?
missing paths shown in the editor. this may make sense for HUGE paths, but what
If i need to see them properly?
What version of the product are you using? On what operating system?
2.0.27
Please provide any additional information below.
To fix:
for (int i = 1; i <= 20; i++) {
float pm = (float) i / 20f;
Vector3 currPt = Interp(vector3s,pm);
Gizmos.DrawLine(currPt, prevPt);
prevPt = currPt;
}
}
replace instances of '20' with 'path.Length'
Similar and unrelated request- I'd like a way to change paths dynamically
easily at runtime- deviate from its current path and go to another instead.
Original issue reported on code.google.com by connectb...@gmail.com on 27 Sep 2010 at 1:41
Original issue reported on code.google.com by
connectb...@gmail.com
on 27 Sep 2010 at 1:41