Is there a way to set BABYLON.MeshBuilder.CreateLines width?

I cant find a way to set width to line. I think this would also be very usefull feature in a constructor, but my guess is lines just dont work like that.

scaling doesnt work, it just changes location of, neither does width and height.

Try it yourself :slight_smile:

Unfortunately this is a OpenGL problem, the spec doesn’t require allowing to change the width of a line :frowning: javascript - How to use gl.lineWidth() - Stack Overflow To achieve the effect of “thicker” lines people usually create cylinder meshes.

2 Likes