Your browser does not support WebGL :-(

1. First of all the camera needs to be of type TRACKING. You do this with:

	  	var c = vxl.c.camera; 
	  	c.setType(vxl.def.camera.type.TRACKING);
	  

2. Select the type of tracking with setTrackingType. For example:

      	c.setTrackingType(vxl.def.camera.tracking.DEFAULT);
      

The DEFAULT mode does not follow the actor, even if the camera is configured to do so with vxlCamera.follow

3. Tell the camera who to follow:

      	c.follow('test');