You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't change location/position of motion, i.e, I'm trying that UIPanGesture when is ended, change to motion automatically, but the location must be the same as location(x,y,z) before that UIPanGesture has ended, just like Facebook.
But when is ended, the motion changes automatically but the position always resets depends of the orientation.
Sorry for my english
The text was updated successfully, but these errors were encountered:
That's the intended behavior. When you enable motion control, the orientation of the camera is determined solely by the motion data according to some fixed reference point. Since the reference point is the same, keeping the device in the same orientation always results in the exact FoV of the camera. In short, you can't mix pan and motion as in the Facebook app. The reason I implemented it that way is to keep the correspondence between the physical orientation of the device and the FoV consistent.
With all these said, I understand that not everyone would care about a fixed reference point, and prefer the Facebook way. That's why I might add that feature in a future release.
scihant
changed the title
How to change location while in motion
Allow using both pan and motion controls at the same time
Mar 11, 2017
scihant
changed the title
Allow using both pan and motion controls at the same time
Support for control using combination of touch & motion as in Facebook
Mar 11, 2017
No, I'm saying that this library automatically sets the FoV according to the orientation of the device, regardless of how or when you modified the FoV before. As soon as you enable motion controls, it will immediately change the FoV to where it should be according to a fixed reference point. Therefore it's not possible to use touch controls without disabling the motion controls, or changing how the library works.
Repository owner
locked and limited conversation to collaborators
Mar 13, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I couldn't change location/position of motion, i.e, I'm trying that UIPanGesture when is ended, change to motion automatically, but the location must be the same as location(x,y,z) before that UIPanGesture has ended, just like Facebook.
But when is ended, the motion changes automatically but the position always resets depends of the orientation.
Sorry for my english
The text was updated successfully, but these errors were encountered: