Jump to content

How to allow viewport dragging with 3-finger touch?


ozRocker
 Share

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...