Search the Community
Showing results for tags 'deviceorientationcamera'.
Hi, I would like when I start the device orientation camera that the orientation is as a real world? For example, if I create 4 cubes around me with north, east, west and south, I want to see the north cube when my smartphone is facing north. Thank you very much in advance for your help. Stephan
Hey there, I noticed that the DeviceOrientationCamera start direction is different when the users device is in portrait vs landscape mode. Portrait is correct, where as Landscape is off to the right when compared to other cameras. Is there any way I can sync these two up without moving objects in my scene? The same issue occurs with VRDeviceOrientationFreeCamera. Sidenote: I did see resetToCurrentRotation() in babylon 2.5 but it doesnt resolve this issue. Thanks!
Been trying out the deviceOrientationCamera and cannot get it to work on my tablet (Android 5.1 ) Attempt at http://www.babylonjs-playground.com/#12WBC#74 I also noticed that whatever I set the xxxxxSensibility s to they read as 0 (but this was on a PC that has no orientation). Does it work on anyone's mobile device? Any ideas on what to change?
So when implementing the DeviceOrientationCamera on mobile, and the device changes from portrait to landscape, the camera controls don't update to the new orientation. It remembers the original portrait orientation, they don't switch over to the landscape controls. Any idea on how to correct this? Here is an example. On mobile, start in portrait, and then rotate to landscape. You'll see the controls get all wonky. http://www.babylonjs-playground.com/#PNQPP#1