Initial camera rotation incorrect (Chrome/Android)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
The initial/default camera rotation seems to be wrong since an update to Chrome/Android. As seen in the example, the camera should face the logo at the start (which it does on desktop). However on the device specified below the camera faces 180 degrees.
Side note - is there a 'look at' type method for the camera that would correct this for me in the short term?
- A-Frame Version: 0.8.2
- Platform / Device: Chrome 67.0.3396.87 / Android 8.0.0 / OnePlus 3T
- Reproducible Code Snippet or URL: https://www.homerandfarley.com/

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the camera orientation at https://www.homerandfarley.com/ with A-Frame 0.8.2 on Chrome 67 running on Android 8.0 and compare it with desktop behavior. Trace the initial camera setup and device-orientation handling, then verify that the camera faces the logo at startup on the reported device without regressing desktop behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100