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

Gyro features are null only locally #21

Open
JulianOrlowski opened this issue Jul 4, 2019 · 2 comments
Open

Gyro features are null only locally #21

JulianOrlowski opened this issue Jul 4, 2019 · 2 comments

Comments

@JulianOrlowski
Copy link

Hi everybody!
When I connect to https://codepen.io/beacrea/pen/Kkqwu with my phone (Zenfone 5), I manage to have values for accelerometer and gyroscope. But when I import the code, run it with localhost and connect with my phone, I have null values. Does anyone have an explanation for that?
Thanks

@JulianOrlowski
Copy link
Author

Hi everybody!
When I connect to https://codepen.io/beacrea/pen/Kkqwu with my phone (Zenfone 5), I manage to have values for accelerometer and gyroscope. But when I import the code, run it with localhost and connect with my phone, I have null values. Does anyone have an explanation for that?
Thanks

Ok I solved it, it works only in https and no in http.

@alexandervolgor
Copy link

I have any question gyro code for javascript.
I'm making game with cocos creator, and then I need to use gyro gesture in cocos creator.
Who can help me? Please send me reply. Thanks

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