Lary Posted August 7, 2018 Share Posted August 7, 2018 Hi friend, Is there any way to detect user panning and zomming the model with arcRotateCamera on both desktop and mobile? and also when the user put one finger down and pan the model continuously from right to left, and left to right. I need to track all the actions... Thaanks!! Quote Link to comment Share on other sites More sharing options...
Guest Posted August 7, 2018 Share Posted August 7, 2018 Hello! I think the best option would be to call something like scene.registerBeforeRender(function() { // Check camera.inertialPanningX and camera.inertialPanningY }) Quote Link to comment Share on other sites More sharing options...
brianzinn Posted August 8, 2018 Share Posted August 8, 2018 You can get pretty far with the observable on the view matrix, too: https://playground.babylonjs.com/#G34EV5 Lary and GameMonetize 1 1 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.