brean Posted February 23, 2018 Share Posted February 23, 2018 Hi, The touch controls in Three.js allow you to move the camera horizontally/vertically using three fingers. I noticed that the ArcRotateCamera in Babylon behaves similar to the Orbitcontrols in Three.js (using the right mouse button you can move horizontally/vertically ) but it does not have the three-fingers gesture implemented. Is there some other way to move the camera using touch or should I file this as "bug"/feature request on github? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2018 Share Posted February 23, 2018 Hello! You can use two fingers to pan Quote Link to comment Share on other sites More sharing options...
brean Posted February 23, 2018 Author Share Posted February 23, 2018 yeah, but those are also for zooming, so the user experience is not very nice - it looks buggy when i move around with two fingers when it zooms a bit in and out while moving. Quote Link to comment Share on other sites More sharing options...
chicagobob123 Posted February 24, 2018 Share Posted February 24, 2018 I rewrote all the controls. I was kind of fun. Touch is the hardest because its difficult to get feedback on a phone browser So small screen. You can get the original source out and redo the functionality using your own interface ideas. Quote Link to comment Share on other sites More sharing options...
brean Posted February 26, 2018 Author Share Posted February 26, 2018 @chicagobob123 Is your code available somewhere? I don't like to reinvent the wheel... Quote Link to comment Share on other sites More sharing options...
Guest Posted February 26, 2018 Share Posted February 26, 2018 Also you can easily create your own inputs: http://doc.babylonjs.com/how_to/customizing_camera_inputs Perhaps that's the best way to solve your issue? Quote Link to comment Share on other sites More sharing options...
chicagobob123 Posted February 26, 2018 Share Posted February 26, 2018 I have my code somewhat hardwired into my interface.. When I get a chance I will see if I can abstract it but it may be a while. Currently working on a very tough issue. If I remember correctly I started with the Babylon source and worked from there. 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.