L
L
Lesh482020-05-15 21:05:44
Unity
Lesh48, 2020-05-15 21:05:44

How to make the line renderer not stretch the texture when rotated?

I have a line, when adding new points (points) that form a turn, the texture of the line that is in front of the turn is shifted (stretched)! I need the line to not shift the texture when adding a rotation!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lesh48, 2021-09-08
@Lesh48

There were several options, but the easiest was to simply make (: several lines) a separate list of objects (List), attach a linerenderer to each object (preferably in a prefab), and when adding a new point, create an object and set points on it (also adjust the parameters etc.) . The solution is not perfect, but other options were worse, and most likely because you cannot make multiple lines in one linerenderer component.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question