Michael Scherotter Posted February 23, 2018 Share Posted February 23, 2018 This example for viewing equirectangular images works great but the mouse controls are reversed. How do I change them so that they match the controls for equirectangular images on Facebook? www.babylonjs-playground.com/#11GAIH Thanks, Michael Quote Link to comment Share on other sites More sharing options...
MarianG Posted February 24, 2018 Share Posted February 24, 2018 Hi Michael. You can use device orientation camera for mobile devices. https://babylonjsguide.github.io/advanced/Cameras#constructing-a-device-orientation-camera Quote Link to comment Share on other sites More sharing options...
Guest Posted February 26, 2018 Share Posted February 26, 2018 the mouse controls are reversed: you control the camera and not the object with the mouse You can decide to not attach your camera to the canvas and instead capture mouse events to rotate the sphere Does it make sense? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.