dsman Posted July 2, 2015 Share Posted July 2, 2015 So we have very simple model we are displaying in babylon using ArcRotateCamera . It is like a product preview so ArcRotateCamera is best choice for that. We want to show this in webview inside mobile apps. So first I started checking various default mobile browsers. Windows Phone 8.1 -IE : ArcRotateCamera is working fine with touch gesture. Rotating using swipes is perfect. Zooming in and zooming out using pinch to zoom is also working fine. Android 5.x - Chrome : No touch gesture are working. I then checked TouchCamera. TouchCamera doesn't suit our need. And anyway it behave in weird manner in Android Chrome. (Very sensitive and few other things) Any way to get ArcRotateCamera to work with touch gestures in Android and other devices , the same way it does in Windows Phone/IE ? SQ 1 Quote Link to comment Share on other sites More sharing options...
RaananW Posted July 2, 2015 Share Posted July 2, 2015 That's odd, the arc rotate camera works on my android wonderfully... Not sure if it's related, but have you tried adding the hand js dependency? Quote Link to comment Share on other sites More sharing options...
dsman Posted July 2, 2015 Author Share Posted July 2, 2015 I think this thread should be deleted. It was so silly. I had included hand.js file. But the order was incorrect. It was after babylon.js file. I never paid attention to it until you pointed out about dependency. Now it works perfectly. Gerente 1 Quote Link to comment Share on other sites More sharing options...
Gerente Posted July 27, 2015 Share Posted July 27, 2015 I think this thread should be deleted. It was so silly. I had included hand.js file. But the order was incorrect. It was after babylon.js file. I never paid attention to it until you pointed out about dependency. Now it works perfectly. You should not delete it at all, I had the same problem, I never wonder that Hand.js had to be included before babylon.js.Thanks for sharing, I solved my problem too. Quote Link to comment Share on other sites More sharing options...
RustySharpcloud Posted January 14, 2016 Share Posted January 14, 2016 Defo do not delete.. This is an easy mistake to make... And this post helped me a lot. For PC developers (with a touch screen), does your app work for touch on chrome (it will probably work for ie/edge/ff without hand.js)? If so it will work on other touch devices designed primarily for touch like iOS/android. JackFalcon and Wingnut 2 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.