I'm trying to ignore mobile sensors (Gyro) rotating the scene when running on a mobile phone.
i.e. I'm looking for a way for the camera to rotate only when the user drags his finger on screen, but not when the entire phone is rotated.
A-FRAME has the "magicWindowTrackingEnabled: false" that does that (https://aframe.io/docs/master/components/look-controls.html#sidebar)
But when using your "orbit-control" package this setting is not working. And if I try to set is as part of the "orbit control" parameters I get an error that this parameter is unknown.
I tried to set this parameter like this on my HTML:
I'm trying to ignore mobile sensors (Gyro) rotating the scene when running on a mobile phone. i.e. I'm looking for a way for the camera to rotate only when the user drags his finger on screen, but not when the entire phone is rotated.
A-FRAME has the "magicWindowTrackingEnabled: false" that does that (https://aframe.io/docs/master/components/look-controls.html#sidebar) But when using your "orbit-control" package this setting is not working. And if I try to set is as part of the "orbit control" parameters I get an error that this parameter is unknown.
I tried to set this parameter like this on my HTML:
But it doesn't work.
Can you add support for this parameter, or is there any other way that can cause the "orbit control" code to ignore the mobile phone sensors?
Thanks, Koby