Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PanGesture only change azimuth without change Y motion #53

Closed
bochitan opened this issue Oct 13, 2016 · 1 comment
Closed

PanGesture only change azimuth without change Y motion #53

bochitan opened this issue Oct 13, 2016 · 1 comment

Comments

@bochitan
Copy link

Hi Robby,

First of all, thanks for great source.

I use both of setOrientToDevice and setTouchToPan with 3D panorama image.
setOrientToDevice work great, change azimuth and Y motion.
However, about TouchPanGesture, i want to change only azimuth without change Y motion.

Can you help me how to get that?

Thanks

@mayakraft
Copy link
Owner

Hi!
Thanks, yes this is now in the library, set:

[panoramaView setLockPanToHorizon:YES];

Hope it helps!
Robby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants