tizzle / aframe-orbit-controls-component

An Orbit Controls Component for A-Frame VR
https://tizzle.github.io/aframe-orbit-controls-component/
MIT License
74 stars 25 forks source link

Gyroscope while in VR #18

Closed SBUtltmedia closed 7 years ago

SBUtltmedia commented 7 years ago

On a current project we are trying to implement the view of an object inside of VR using the orbit camera. The problem is on a mobile device the gyroscope doesn't work or is not implemented. If there is a fix for this we have not found one.

tizzle commented 7 years ago

Hey @SBUtltmedia,

the orbit-controls are not intended to be used inside VR. The primary goal was to supply a fallback camera when users view content on non-VR devices or out of VR-mode. That's why no in-VR support is implemented and it is not on the feature list.

I recently pushed a PR from @morandd that implements a switch to the Aframe default look-controls when switching to VR. Have you checked out the latest version (v0.1.7)? Do you experience any problems with this behavior?

Apart from that, you could always go with implementing your own component. The docs on the Aframe website have information on writing your own components. I fear though, that the result will be very nauseating for the consumer.

Cheers

Till

tizzle commented 7 years ago

Hey @SBUtltmedia,

do you have any input for me? Otherwise i'd close this due to inactivity.

Cheers

Till

tizzle commented 7 years ago

Closing due to inactivity