Question by
waasiqm · Jul 08, 2020 at 12:36 PM ·
resolutionaspect-ratio
Question Regarding Camera Resolution
Hello Everyone,
I am new to Unity. I made a simple Laser 2D game on a 9:16 aspect ratio and tried to build it but the problem is with my ship. I am using ViewpointToWorldPoint function to make it able to move it between the camera. The code is as following:
The problem arises in different resolution. For example while running it on my laptop the space ship goes more than the camera resolution. How can this be fixed?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613002738im_/https://answers.unity.com/themes/thub/images/avi.jpg)