Line Renderer

Hello

Is there a way to have rounded endings on a line renderer?

Thanks

Not without coding one of your own.

Thanks StarManta

How can I code one? Do you know the process?

actually you can do it quite easily… You just have to use the right texture and material…

The image is horizontally stretched across the entire line, so you just have to create an image with rounded edges, that has approximately the same aspect ratio as the final line, then save with alpha-channel, use with a transparent material (I used Transparent/Diffuse here), and done!

98982--3838--$rounded_line_113.jpg

Thank you col000r

My problem is that the line changes its aspect ratio dramatically during the game.

Maybe I can implement it dividing it into 3 segments. Hmm.

Thank you again for the good idea, and the clear explanation.