- Home /
Unity3D Screensize remain same Position and Scale
Hi all, I am currently writing a game for iOS and Android. I notice that iOS and Android have different screen resolution. However, I am not satisfied with the results.
I will list the approach that I took
I used a screen resolution of 800x480 as the original constant and my Orthographic view is half the height, which in this case is 240. Then I used this ratio for all the other screen resolutions, such as 480x320. The positions are correct, however, the scaling size is off by alot and if I were to scale it by the ratio, the rigidbodies will get messed up.
Then I thought ot maintain the same orthographic view and try to scale objects from different positions. However, I can't find out the right equation to solve this.
I want to ask whether anyone could help me solve this situation or approach to this situation. Help is appreciated!!
Your answer
![](https://koobas.hobune.stream/wayback/20220613090818im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Convert gameObject position on screen 0 Answers
Unity Scaling for Android on 5.5. 0 Answers
How is transform.position affected by scaling? 1 Answer
Jumping while moving problem (CharacterController C#) 0 Answers
iPad 2 vs Galaxy Tab 2 performance 0 Answers