NikLever / XRGestures

Add touch gestures to a WebXR AR app without using dom-overlay
GNU General Public License v3.0
21 stars 3 forks source link

Pinch not working #1

Open JakeJustLearning opened 3 years ago

JakeJustLearning commented 3 years ago

Pinch gestures on iOS does not work.

NikLever commented 3 years ago

WebXR is not supported on iOS. It maybe in the near future.

aka-blackboots commented 1 year ago

First of all Great work! I'm trying to add 'pinch'. Using Chrome on Android. Unable to use it, can someone confirm?

aka-blackboots commented 1 year ago

First of all Great work! I'm trying to add 'pinch'. Using Chrome on Android. Unable to use it, can someone confirm?

let gestures = new XRGestures(renderer);
gestures.addEventListener("pinch", (ev)=>{
    scaleModel(ev);
  })

Am I doing something wrong here?🤔