- Home /
Line renderer vertex position to be changed only on y axis.
I am using line renderer between different game objects. On clicking a object a line renderer gets generated and on mouse click anywhere (if no collider is present), another line renderer is generated. so the line is generated until it hits the gameobject( the line ends here). That is between you game objects instead of a single line from one game object to another, a line is created by bent(at vertices) line. The issue is the line is passing through and getting hidden in gameobjects. I want the line(except start and end point) to be above the gameobjects thats it is passing through so that it is visible and does not get hidden. Please help. I am not sure how to edit the position y axis of line rendedrer or the inbetween vertex points(in many lines joined(bentlines)). Please help
Your answer
Follow this Question
Related Questions
Generating lines between procedurally instantiated gameobjects, within a certain radius 1 Answer
Chain Texture for Line Renderer 1 Answer
using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers
Laser Beam in Unity 0 Answers
Such a component is already added to the game object 1 Answer