Request: "Point" Object, for use with Polylines
One of the limitations with Polylines (due to Unity!) is that there's no way to animate data contained in Arrays or Lists. But there's a potential way around this: An external "Point" GameObject that contains everything the Polyline needs to know. You may not be able to animate the properties of a List of GameObjects, but anyone can animate the GameObjects themselves without any issue.
This would also open up Polylines for more complex effects, for example:
- A Point that belongs to multiple Polylines, or the ability to use the same Point more than once
- A Polyline with animated thickness and colors, without the need for code
- A series of Points that are controlled by an external script — like a physics simulation for a rope
Ahh, admittedly I hadn't fully considered how splines factor into it. I was hoping (very optimistically) that a Point would share enough common variables across different line-type shapes, that it could be treated as a common data container if it turned out to be viable as a component.
For what it's worth, the one big reason why I suggested this is because polyline points cannot be controlled at runtime without custom code — there is no codeless solution at the moment. And so for non-programmers (like say, artists or animators), it doesn't matter how easy the code might be; any amount of C# becomes a brick wall. 😅