           obj = _scene.getChildByName(_cameraTargetObjId, false)
 
           #
-          #        if (!!obj && !!_areaBox) {
-          #          cameraConstraint(obj.position, _camera.position.z, _camera, _areaBox);
-          #        } else {
-          #          _camera.lookAt(_scene.position);
+          #if (!!obj && !!_areaBox)
+          #  cameraConstraint(obj.position, _camera.position.z, _camera, _areaBox)
+          #else
+          #  _camera.lookAt(_scene.position)
           #        }
           #
           #_cameraControls.update()
+          nLookAt(_camera, obj.position)
           _renderer.render(_scene, _camera)
 
       spawnAxis = ->

        axis.scale.set(0.1, 0.1, 0.1) # default length of axis is 100
        _scene.add(axis)

      #TODO support spawn animation
      spawnObj = (id, pos, obj3d) ->
        ids = id.split('>')

          xmax: vertices[0].x
          ymax: vertices[0].y
        })
        _areaBox.xmin = _areaBox.xmin * scale.x + position.x
        _areaBox.ymin = _areaBox.ymin * scale.y + position.y
        _areaBox.xmax = _areaBox.xmax * scale.x + position.x
        _areaBox.ymax = _areaBox.ymax * scale.y + position.y
        console.debug("_areaBox", _areaBox)
        _areaBox


      #
