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

touch pan orientation #4

Closed
mayakraft opened this issue Jan 10, 2014 · 6 comments
Closed

touch pan orientation #4

mayakraft opened this issue Jan 10, 2014 · 6 comments
Assignees

Comments

@mayakraft
Copy link
Owner

if deviceOrient is disabled, user should be able to pan around the scene with touches

@ghost ghost assigned mayakraft Jan 10, 2014
@mayakraft
Copy link
Owner Author

implemented, but let's explore decelerating in place of abrupt stops.

@gperessin
Copy link

it would be great to be able to pan around even when the deviceOrient is enabled.

@mayakraft
Copy link
Owner Author

gperessin, i'm still thinking on this. a problem i'm see right now is if both are enabled, panning will un-align the real and virtual horizons, and i haven't been able to imagine an elegant way to re-align them (if the user wanted, which makes sense that they might) without introducing a UI layer

@mayakraft
Copy link
Owner Author

i've been thinking about this some more, i might try this:
if the device orientation and panning are both enabled: panning is restricted to only around the Y axis, (spinning like a top), so that the horizon stays level

@notfair
Copy link

notfair commented May 10, 2014

or maybe when panning, deviceOrientation will be disable, only enable when cancel touch?

@mayakraft
Copy link
Owner Author

b379e2e it's now possible to activate both simultaneously

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

3 participants