ozRocker

How to allow viewport dragging with 3-finger touch?

Recommended Posts

On iPhone when you move the camera view with 1 finger it will also drag around the viewport (there's a workaround to this so its not a problem).  But when you use 2 or more fingers it will pan the camera view yet the viewport stays in place.  That's probably how its meant to behave, but what I want is for 3 finger drag to move the viewport around.  The reason being, if this is on a mobile device and the canvas takes up the whole viewport I want users to be able to move it out of the way (scroll up or down) via 3 fingers.  Is there somewhere in the babylon.js code where I can change the behaviour for the 2+ finger drag?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.