ThreeJS: rotate on y axis to face camera
<p>I want my object to rotate on the Y axis to always face the camera (as if a human was turning around in circles), as the camera moves.</p>

<p>This is what I have tried so far:</p>

<pre><code>var render = function() {
    animationFrameId = window.requestAnimationFrame( render);

    obj.lookAt(camera.position);

    obj.rotation.set(0, obj.rotation.y, 0);
}
</code></pre>

<p>But i am missing some simple math or trig function, because when i rotate, it eventually 'jumps' and the object appears to face the wrong direction</p>