- Home /
Question by
Demandooda · Jun 15, 2016 at 06:16 AM ·
c#2dcoordinatescoordinate-system
Unity 2d position of squares in different units than size.
My problem is fairly straightforward. I have one square at, say, (5,5). In my program squares are re-sized using transform.localScale
to by 3 units by 3 units big. I want to have a second square that is directly to the right of the first one. So I place it at (8,5). However, it is not exactly touching the first square! What is causing this problem, an what can I do to solve it?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612082902im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Trouble with positions of vertices 1 Answer
Move a whole enemy object to a new point 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to get equal screen coordinates on different resolutions? 1 Answer