Michael Scherotter Posted August 22, 2018 Share Posted August 22, 2018 How would you link a screen pinch gesture to manipulating a PhotoDome fovMultiplier property? Quote Link to comment Share on other sites More sharing options...
trevordev Posted August 22, 2018 Share Posted August 22, 2018 Based on this post (http://www.html5gamedevs.com/topic/32449-picking-up-pinch-to-zoom-gesture/) I don't think pinch to zoom has native support, but as it suggests you could look at the arc rotation camera class and copy some code from there to detect it yourself. You could try reading this doc as well https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events/Pinch_zoom_gestures 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.