hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.13k stars 391 forks source link

How to disable mouse rotation of a 3D model in a scene? #491

Closed LiZhenzhuBlog closed 5 months ago

LiZhenzhuBlog commented 5 months ago

How to disable the mouse rotation for a 3D model in a scene?

<a-scene mindar-face embedded vr-mode-ui="enabled: false" device-orientation-permission-ui="enabled: false">
      <a-camera active="false" position="0 0 0" look-controls="false"></a-camera>
      <a-entity mindar-face-target="anchorIndex: 1">
        <a-sphere color="green" radius="0.1"></a-sphere>
      </a-entity>