LineRenderer disables/overides Transform
I am using LineRenderer with a GameObject. If I preset the location and then add the LineRenderer, the position goes to 0,0,X and become unable to move. If I remove the LineRenderer, Transform still stays locked and unable to move the object
If I set X,Y,Z under position in LineRenderer then the object moves but is still not able to be adjusted.
[RequireComponent(typeof(LineRenderer))]
void Start () { renderer = gameObject.GetComponent();
This worked in older versions of Unity.
I found another piece to the puzzle.
If I add the Line Renderer to a game object without the script, it does the same thing. That eli$$anonymous$$ates something in the script and i think it has to do with the positions.
Answer by codedbythet · Jun 15, 2020 at 01:48 PM
This is part of this video starting around 18 minutes.
https://www.youtube.com/watch?v=uQlDfDsWiMs&list=PLDSN4X0GGaNJuuSFS5EH9rEmiC_ZC5Utc∈dex=1