Reply To: I can’t increase the length of line renderer.

Forum Archive I can’t increase the length of line renderer. Reply To: I can’t increase the length of line renderer.

#27029
Jonathan Gonzalez
Participant

    I tried the line renderer in Unity 2018 and it looks to be the same. The positions can be adjusted if you wanted to manually adjust the length. I’ve included a few images to show you how it would be done:

    This first image has the line renderer with the “z” value of the “Element 1” set to 1. We can see the line renderer’s length is 1 along the Z axis (blue arrow). If I increase that value to 5 it’ll lengthen it:

    Here it is at a value of 5. Note that the X and Y of both of these are set to 0. Also the values in Element 0 are also set to 0 across each axis. If I wanted to move the line renderer up or to the side I would adjust the X or Y values accordingly. Hope that helps to shed some light on how to use it for length.