"TOUCH_PANNER_DISABLED : false" doesn't work since 0.10.3
dokydok opened this issue · 7 comments
setting:
new window.WebVRPolyfill({
TOUCH_PANNER_DISABLED : false,
});
have no effect since 0.10.3, no panning when touching the screen.
TOUCH_PANNER_DISABLED was removed in 0.10.0 -- it can be implemented with something like: https://github.com/immersive-web/webvr-polyfill/blob/v0.9.41/src/touch-panner.js
It probably should be added to the release notes
Yeah, I must've forgot to add it -- it's the same reason the mouse and keyboard controls were removed -- outside of the scope of supporting WebVR and difficult to anticipate all potential input mechanisms outside of VR. I'll add it to the notes, thanks for pointing it out!
Are there any examples available of the touch-panner in use (ie. integrated with the latest polyfill)? Thanks!
There's nothing in the polyfill for that, no -- but in the future there could be different 'CardboardVRDisplays' in user land that are powered by a touch panner, or mouse and keyboard for example
Added to 0.10.0 release notes -- closing this issue, but would be open to adding links to the README of other implementations of things like TouchPannerVRDisplay, KeyboardMouseVRDisplay, etc.
Hi @jsantell I need to enable vertical move of touchpanner in the CardboardVRDisplay. Do you thing creating a TouchPannerVRDisplay is good idea or just modifiying the old TouchPanner of CardboardVRDisplay to enable phi updates from the touch is enought? If so, what do you think shoud be enough to add because I tried to add the phi in the getOrientation of touchpanner but the result does not respect desired angles