LineRenderer improvements?

I’m using the LineRenderer to draw a simple line between 2 points. What I find is that the line has some unusual behaviour. It rotates around the vector between the two points as the camera moves (I assume it is designed to try to face the camera - however it doesn’t always do a great job).

I would prefer it to have a horizontal billboard behaviour similar to one of the particle renderer options. I haven’t seen this as an option in the current version of Unity. Will a feature like this be available in Unity3? Are there any improvements to the linerenderer? (I actually have access to the Unity3 Beta but I am not home to install it at the moment)

One of the issues I think is that since the lines are actually in 3D and are textured with a line graphic applied to a flat plane, it is going to be possible that when viewed from certain angles the line will disappear or will appear to have different thicknesses. That’s why they made it rotate to face the camera as much as possible.

I had the same problem with the basic trail renderer. I did however find that the tron trail example from the procedural tutorials helped a lot to understand how to create geometry which is always aligned to a given axis or whatever, or always upright. You might want to check that out. It’s not really that difficult in fact to generate your own geometry/lines.

Hi Imaginaryhuman. I am aware it is easy to draw my own lines and orient them. I have done this with other components of my application. Its just the linerenderer is a nice easy way to draw a line and was wondering what new functionality is available for it in Unity3.

Otherwise yes i’ll draw a long thin quad in the XY plane :slight_smile: