How adjust the camera zoom to the current size screen

Hello.
would there be a way to make the globe occupy the entire height when starting the app and then adjust to the width in mobile mode.
I’m using moveForward, zoomIn but can’t set it to fit.
if you can give me an idea please. Thanks


Hi @Luis_Carrion,

Thank you for your post. It seems to me like you are using the correct tools. moveForward and zoomIn should play a crucial role in your implementation. Have you experimented with updating these members based on the screen size/resolution?

Best,
Sam

1 Like