Non-Billboard LineRenderer

Hello

Is it possible to have a line renderer that does not try to face the camera?

Or maybe define the facing point as a position variable.

The line renderer intentionally billboards the line segments (ie, it’s not designed to work like a flat 3D strip with a fixed orientation). You could use the Mesh API to create the lines in the mesh geometry, and this would otherwise behave as a normal 3D object.

Thank you andeeee. I modified the tube renderer on the wiki to do exactly what you say. But then found that it did not showed my texture correctly and I moved to show the line with two meshes… one scaled cylinder and half sphere to close the end of the cylinder.