AR-js-org / AR.js

Image tracking, Location Based AR, Marker tracking. All on the Web.
MIT License
5.4k stars 922 forks source link

The object is placed with an angle about 25 degrees if using look-controls feature #85

Open taime opened 4 years ago

taime commented 4 years ago

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

What is the current behavior? The object (box) is placed to scene with an angle about 25 degrees.

Steps to reproduce Just add look-controls to a-entity of base example

A code example: https://codepen.io/taime/pen/QWjExPe

Relevant information Tested on iPhone 6S, iPhone 7 iOS 13.3.1

Expected behaviour? It supposed to be horizontal and it is horizontal without look-controls

IMG_7133

kalwalt commented 4 years ago

It works fine for me on desktop, but need to be fixed the entity position, codepen to test: https://codepen.io/kalwalt/pen/QWjEZqY I will test on my Android device.

taime commented 4 years ago

I found out that: iOS 13.3.1 — problem happens with all aframe versions.

iOS 13.4.1 - the problem only with aframe 1.0.4 but with aframe 1.0.0 it's OK!!!

nicolocarpignoli commented 4 years ago

a-frame issue? try to open an issue on their github repository

taime commented 4 years ago

a-frame issue? try to open an issue on their github repository

But there is no any issue when using just a-frame. the issue happens only with ar-js, so I don't know where this bug is...

kalwalt commented 4 years ago

This happens also with my Android device Wiko View with Android 7.1.2 and Chrome 81.0.4044.111. portrait or landscape mode give me the same result.