Draw lines with Vectrosity in the direction transform.forward

So I know there is SetRay and it would be perfect if I could set the width of the line but I can’t. This is what I have now. It works if I don’t rotate my character but as soon as I do it messes up.

var shootForward = Vector3(transform.position.x, transform.position.y, transform.position.z + 50);
shootForward = transform.TransformDirection(shootForward);
var origin = transform.position;
linePoints = [ origin, shootForward ];
laserLine = VectorLine(lineNumber.ToString(), linePoints, Color.yellow, null, 2.0);


SetRay returns a VectorLine object, so you can call SetRay and then do what you want with the VectorLine afterward, including setting the width.