zhang Posted July 25, 2017 Share Posted July 25, 2017 On the mobile side, such as iPhone6, how do I move the camera (should not be "wasd"), and the mouse can not control the camera rotation thanks Aerion 1 Quote Link to comment Share on other sites More sharing options...
Aerion Posted July 25, 2017 Share Posted July 25, 2017 joystick camera. Quote Link to comment Share on other sites More sharing options...
zhang Posted July 25, 2017 Author Share Posted July 25, 2017 Similar to the joystick, the phone does not have a button to control the camera to move, so I want to add four buttons to control the move, but the control is not smooth I do not know if you can understand, because this is Google translation, thank you Quote Link to comment Share on other sites More sharing options...
davrous Posted July 25, 2017 Share Posted July 25, 2017 Use either directly the Virtual Joystick Camera: http://doc.babylonjs.com/tutorials/how_to_use_virtualjoystickscamera or use the Virtual Joystick to build your own custom controls. For iPhone, don't forget to use either jQuery PEP for Pointer Events support or hand.js (deprecated). David Quote Link to comment Share on other sites More sharing options...
zhang Posted July 25, 2017 Author Share Posted July 25, 2017 thanks 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.