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

Zoom need click #39

Open
FloLech opened this issue Sep 28, 2018 · 0 comments
Open

Zoom need click #39

FloLech opened this issue Sep 28, 2018 · 0 comments

Comments

@FloLech
Copy link

FloLech commented Sep 28, 2018

I run an embeded a-frame scene using orbit controls. I am facing an interaction issue reagrding zoom:
Once the scene is loaded a user has to click on the scene to make zoom (mouse weel) work. I would like to get the zoom function without the initial click.
I tried to programmatically dispatch a click event – no luck with this approach. For comparison I attached the wsad-controls component. This one recognizes the key inputs without the initial click event.

Any idea on how to make this work?

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

1 participant