I’m very very new to Babylon, but I’m an instant fan, I’ve enjoyed using the framework over the last while!
I have a question about some unexpected behaviour when using the DeviceOrientationCamera on a mobile device, I’m too new to say whether it’s a bug or if I’m probably just not using the framework properly.
The background is a skybox - I took a Babylon sphere object, added a texture to it and put the camera in the middle. Everything looks great on the website when running from my desktop.
The trouble is when run from a mobile device, the sky box orients in completely the wrong direction to what I expect. I’ve tried setting these properties:
to invert the camera rotation but they don’t seem to have any effect when run from a mobile device.
Can anyone advise on how I can get round this?