title: Aframe orbit-controls rotate object around its center while keeping other objects fixated
body: <p>I am trying to rotate a box around its center while keeping the rest of the models fixated. Here is my code -</p>
  
  <pre><code>&lt;head&gt;
    &lt;title&gt;My A-Frame Scene&lt;/title&gt;
    &lt;script src="https://aframe.io/releases/0.8.2/aframe.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://unpkg.com/aframe-orbit-controls@1.0.0/dist/aframe-orbit-controls.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://unpkg.com/aframe-supercraft-loader@1.1.3/dist/aframe-supercraft-loader.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;a-scene&gt;
      &lt;a-entity id="super" supercraft-loader="name: better-reaction" &gt;&lt;/a-entity&gt;
  
      &lt;a-entity camera look-controls orbit-controls="target: 0 1.6 -0.5; minDistance: 0.5; maxDistance: 180; initialPosition: 0 5 15"&gt;
          &lt;a-box position="0 1.6 -21" color="red"&gt;&lt;/a-box&gt;
      &lt;/a-entity&gt;
    &lt;/a-scene&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>and here is the codepen: <a href="https://codepen.io/nirajupadhyay11/pen/RBBpbd" rel="nofollow noreferrer">https://codepen.io/nirajupadhyay11/pen/RBBpbd</a></p>
  
  <p>However, the entire model rotates on dragging the mouse, instead of just the box.</p>
  
  <p>The result I am after is keeping the box and the model fixated at their respective positions but when the mouse is dragged, the box should rotate around it's center.</p>
  
  <p>I am trying to get this to work so that, in my game that I am developing, I can have a 3d gun model point to different directions based on mouse drag. Their are other 3d models in the game such as trees and rocks but they should remain in their position when the mouse is dragged.</p>
  
  <p>Here is one example of what I am trying to achieve - <a href="https://codepen.io/jordizle/pen/haIdo" rel="nofollow noreferrer">https://codepen.io/jordizle/pen/haIdo</a></p>
  
  <p>Could you please help me with this?</p>
  
  <p>Thanks,
  Niraj</p>