title: aframe adjust camera rotation on mobile
body: <p>Using Aframe how I can change the camera rotation manually so it works on mobile and still use look-controls?</p>
  
  <p>I've tried via the html attribute like so:</p>
  
  <pre><code>document
    .querySelector('[camera]')
    .setAttribute('rotation', { x: 0, y: deg, z: 0 })
  </code></pre>
  
  <p>This works fine on desktop however on mobile the look-controls component seems to reset the camera rotation to previous value.</p>
  
  <p>I've setup a demo the issue here, which changes rotation &amp; disables look-controls. Then I set a timeout which re-ables look-controls after 1 sec. <a href="https://embed.plnkr.co/WA1rKucPk0cGffrbfrTh/" rel="nofollow noreferrer">https://embed.plnkr.co/WA1rKucPk0cGffrbfrTh/</a></p>
  
  <p>Pressing any of the html buttons rotates you to a an object and disables the look-controls. 1 sec later the control are re-abled. If you try this on mobile, you'll notice the camera rotates, then 1 sec its reverts when the look-controls are enabled.</p>
  
  <p>Is there some offset I need to reset on mobile too, the lookcontrols.yawObject perhaps?</p>