n my current game I have objects that are a set size, and depending on circumstances, these objects transforms are scaled in order to make the object appear bigger vs. providing a graphic for each size. This also helps save on memory.
I have a line renderer that is attached from one object and the other end of the line renderer is attached to the object I mentioned above.
The probably is, when the object is its regular size, the line renderer connects to the object at the right place, however, if I scale the object, the line renderer is no longer positioned correctly.
How can I make the line render always show on the same location of the game object even if it is scalled?