Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Vertical Line using line renderer with Transform Z

Discussion in 'Scripting' started by Umresh, Oct 21, 2019.

  1. Umresh

    Umresh

    Joined:
    Oct 14, 2013
    Posts:
    56
    Hi,
    Trying to create line using line renderer with view as "Transform Z" to create a vertical line but the line brakes in between. Mesh is not created and line twists in some places. How to solve this?
    using unity 2018.3.

    upload_2019-10-21_19-22-19.png

    upload_2019-10-21_19-23-2.png

    Thanks
     
  2. Whatever560

    Whatever560

    Joined:
    Jan 5, 2016
    Posts:
    505
    Yeah it seems to be a limitation with the line renderer and vertical lignes, transform Z accentuates the issue but not by much IMO. Didn't found a workaround yet.
    Vertical :
    upload_2024-1-7_14-33-30.png

    Horizontal
    upload_2024-1-7_14-34-11.png