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

mobile controls work but don't let you see the infinite nature of the terrain - you can only orbit the center #2

Open
campbellgoe opened this issue Nov 21, 2024 · 3 comments

Comments

@campbellgoe
Copy link

  • figure out how to pan the world on mobile with 2 touches / pointers?
@ChristopherBiscardi
Copy link
Contributor

by "mobile" what platform do you mean? Is this related to the web functionality you just PR'd?

@campbellgoe
Copy link
Author

campbellgoe commented Nov 23, 2024

I mean touch devices. This could be a touch laptop or a mobile smartphone device.
The PR shows how to render it on the web, as I tested it on my phone, there's no keyboard input with touch, if that makes sense, so the events won't move the central box.

@campbellgoe
Copy link
Author

the PR now more or less has touch support, i finally figured out how. however i'm a little lost on how to do screen space panning type stuff, i was thinking i could use the camera angle, but i'm still pretty new to Bevy (and Rust).

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