Hello!
I'm working on a 2d project. I have a linerenderer not using world coordinates with only two positions: (0,0,0) and (10,0,0).
The linerenderer is attached to the object gun that is found in this hierarchy -> GameObject1/GameObject2/Gun. Both GameObject1 and GameObject2 have spriterenderers attached. When i change the X scale of GameObject1 with its opposite (in this case localscale.x becomes -1 from 1) all the sprites flip but the linerender DISAPPEARS! I have tried to change the scale of "Gun" aswell but the only result has been to make the linerenderer stand still.
How can I make the linerender flip normally on the local x-axis?
↧