dsman Posted October 10, 2015 Share Posted October 10, 2015 I tested VirtualJoystickCamera . Right joystick to control panning and rotation of camera works on all browser. But left joystick isn't working on any mobile browser. I checked on following browser. Android 4.4 Default Chrome, Firefox for android, Opera, MIUI default browser iOS 9Safari , Opera This is very good choice of camera for free camera movement and application/gave targeting touch devices. Any clue what is wrong here ? Quote Link to comment Share on other sites More sharing options...
davrous Posted October 10, 2015 Share Posted October 10, 2015 Hi, It should work. But I've recently updated it to use jQuery PEP polyfill instead of hand.js. Are you using PEP? Are the samples on the babylonjs.com website not working neither?David Quote Link to comment Share on other sites More sharing options...
davrous Posted October 10, 2015 Share Posted October 10, 2015 I've just tested on an iPhone 6 / iOS 8.0 and our scenes on babylonjs.com work with the virtual joysticks camera (using the camera control panel). Can you please share a repro somewhere?Thanks!David Quote Link to comment Share on other sites More sharing options...
dsman Posted October 10, 2015 Author Share Posted October 10, 2015 Actually I was using Babylon 2.0 . I upgraded to Babylon 2.2 and it started working. Don't know why is it so. May be you have the answer. I was using jquery , handjs and babylon 2.0 and just updated babylon 2.0 to 2.2 . Quote Link to comment Share on other sites More sharing options...
davrous Posted October 10, 2015 Share Posted October 10, 2015 Ok cool! Starting with Babylon 2.3, we will use PEP instead of hand.js Quote Link to comment Share on other sites More sharing options...
jerome Posted October 10, 2015 Share Posted October 10, 2015 Is this yet implemented ? I mean : if we use the alpha version, will PEP yet work with BJS ? Quote Link to comment Share on other sites More sharing options...
davrous Posted October 10, 2015 Share Posted October 10, 2015 Yes, this is in the 2.3 alpha. Compared to hand.js, you need to set the touch-action attribute on the html element whereas we're supporting the CSS property with hand.js. 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.