Numa Posted February 1, 2017 Share Posted February 1, 2017 Hi there, I'm embedding my canvas in an iframe. everything works fine on desktop and android, but for some reason I can't rotate around on iOS (it scrolls the page instead). It responds fine to taps however. I'm using pep.js, it's included before babylon.js, and I also threw in BABYLON.Camera.ForceAttachControlToAlwaysPreventDefault = true; any ideas? Thanks! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 1, 2017 Share Posted February 1, 2017 Hello you have to turn touch-action to none as well on your canvas: <canvas id="b" touch-action="none"></canvas> Quote Link to comment Share on other sites More sharing options...
Numa Posted February 2, 2017 Author Share Posted February 2, 2017 Thanks, fixed! GameMonetize 1 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.