- Home /
How should I do to draw lines like this?
I'm works on developing line-link puzzle game like as below image
My problem is I don't know how should I do to draw lines like a center image I've tried a line renderer, lines pretty bad when I add new point which change direction
For example
0] x = 0, y = 0
1] x = 100, y = 0
2] x = 100, y = 100 <--this make lines ugly
I think I'll create new lines by create new game objects. I don't know that is a best way to do this, if you've any suggestion, feel free to answer :D
Your code example really doesn't help. But basically each of those should be a game object, thus we connect the centroid of each object (transform.position)
Your answer
Follow this Question
Related Questions
attach drawing line using (LineRenderer) to moving background 0 Answers
Drawing 2 lines in same time 0 Answers
Draw a line with collision 2 Answers