How to draw fancy 3D extrutions (lines, curves etc) between multiple 3D points .

I’ve just tried Line Renderer in Unity. It is easy to use. But, as far as I can understand it has limited functionality. It draws lines as 2D rectangular surface/plane (when start and end widths are equal) and this plane rotates as the first person controller moves around. Not impressive :frowning:

Is there a better tool to draw 3D extrutions (lines, curves; arcs, spline etc.) between multiple 3D points?
Especially I am interested in the ability of defining the crosssection of the 3D extrutions, in such a way that they will look like a 3D objects. Following figures can explain it better;

Is there a 3D line/curve drawing tool for Unity 3D to achive these results?

-Kaya

There’s no built-in functionality for this, but you can certainly implement it yourself. The details depend on exactly what you want to do, but an effective way of extruding a cross-section along a spline is to move a ‘parallel transport frame’ along the spline, generate vertices from a local-space copy of the cross-section at each step, and then triangulate. (For examples of how to create procedural meshes in Unity using the Mesh class, check out the ‘procedural mesh’ examples in the Resources section of the Unity site.)