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

Camera not updating position #542

Open
vuya24 opened this issue May 24, 2023 · 1 comment
Open

Camera not updating position #542

vuya24 opened this issue May 24, 2023 · 1 comment
Labels
location based question Further information is requested

Comments

@vuya24
Copy link

vuya24 commented May 24, 2023

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Camera position not changing, rotation changes but doesn't look like it is working

If the current behavior is a bug, please provide the steps to reproduce.

Open location based example from ar-js github, allow camera and location

https://ar-js-org.github.io/AR.js-Docs/location-based-aframe/

Please mention other relevant information such as the browser version, Operating System and Device Name
Browser version: Chrome 111.0.5563.57
Operating System: Android 13
Device name: Samsung Galaxy Note20 5G

What is the expected behavior?
Object should not be fixed to camera and camera should update it's position

I don't know why is this happening, tried multiple examples.
Also i've seen that DeviceOrientationControls from Three.js is deprecated from version 0.133. I don't know if that causes an issue, should i build npm packages. Also , i don't know if attribute look-controls does anything when using phone camera or it is only for VR but in inspect of the example code a-camera gets attribute look-controls-enabled:"false".

@kalwalt kalwalt added question Further information is requested location based labels May 24, 2023
@kalwalt
Copy link
Member

kalwalt commented May 24, 2023

Are you using the latest from Ar.js? Does this live example works for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
location based question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants