Open RuiOrey opened 8 years ago
Haven't tested on win phone at all, don't have one readily available. Could you try to dig in and figure out what the problem might be? Maybe lack of DeviceMotion support?
On Sat, May 7, 2016 at 2:10 PM Rui notifications@github.com wrote:
Hi,
my windows phone is not working with the actual webvr boilerplate The problem is that the camera is always looking down and unresponsive of any phone movements and the camera is always looking down. The application i'm using works on desktop and other mobiles (ios,android) The sensors work on older versions of the boilerplate.
Lumia 640 windows phone 10
Thanks and great work!
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/borismus/webvr-boilerplate/issues/141
I can try ... Well it works in this old prototype. The way the sensors are nowdays used/accessed is different from that old one?
I had a similar problem in Edge a few months ago - it seemed the camera was auto-rotated around 180 degrees by default.
Did a simple test using the following
and the Sensors seem to work... strange..
I will check again the basic webvr-boilerplate cube example (from where I derived the code of the application that is not working ONLY on my wp)...
Yes.. on the basic cube example that comes with the project it also does keeps looking down and only rotates a bit if using touch...
well I've been testing and seems at least my Lumia 640 does not support DeviceMotion's rotationRate (it supports timeStamp, accelerationIncludingGravity and acceleration). It seemed to work with deviceorientation.
We use rotationRate for motion prediction and other things. You could try hacking together a fix, and I'd accept a patch. Unfortunately win phone support isn't high on my priority list.
On Mon, May 9, 2016 at 6:16 PM Rui notifications@github.com wrote:
well I've been testing and seems at least my Lumia 640 does not support DeviceMotion's rotationRate (it supports timeStamp, accelerationIncludingGravity and acceleration). It seemed to work with deviceorientation.
— You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/borismus/webvr-boilerplate/issues/141#issuecomment-218034594
I can try.. will take a look...
For now only got to disable the rotationRate influence on windows phone. For having it probably the way to go is to re-use the device orientation old code..
Hi,
my windows phone is not working with the actual webvr boilerplate The problem is that the camera is always looking down and unresponsive of any phone movements and the camera is always looking down. The application i'm using works on desktop and other mobiles (ios,android) The sensors work on older versions of the boilerplate.
Lumia 640 windows phone 10
Thanks and great work!