vikk Posted July 25, 2017 Share Posted July 25, 2017 sir i am new in babylon js . i show your demo -https://www.babylonjs.com/demos/sponza/ ,it is smoth with navigation with mouse . but when i crete something in babylon js is working navigation though left , right, backword , and forward key though keyword . but when i navigate with mouse its not working . its only left and right . but i want to navigate backward and forward through mouse . how can i do it . pls give me suggetion or good example . and my pg is - https://www.babylonjs-playground.com/#SMQ2T5 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 25, 2017 Share Posted July 25, 2017 Hello, how do you want to navigate forward? I mean what would be the mouse movement associated with forward? Anyway, you should read this: http://doc.babylonjs.com/tutorials/customizing_camera_inputs Quote Link to comment Share on other sites More sharing options...
vikk Posted July 26, 2017 Author Share Posted July 26, 2017 https://www.babylonjs-playground.com/#SMQ2T5 in this my playground . when i want to go inside the room in mobile version . then mouse is not working . though mouse i want to in the room . how it possibbe. and it is possible in your demo https://www.babylonjs.com/demos/sponza/ in mobile vesion i navigate with mouse . so i want to how can i do it. pls help me Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 26, 2017 Share Posted July 26, 2017 Here is a btter version: https://www.babylonjs-playground.com/#SMQ2T5#1 You don't have to provide an engine or a renderloop. This is already done by the playground 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.