Camera lock on

Is there anyway to get the camera to lock onto and object when its being animated.


Yes - use a track to constraint. Select the camera, then the object, then ctrl t. A track to constraint also has an influence value that can be animated. So, when you want the camera to follow th object, the influence will be 1.

One of these - the second one I think demonstrates this.

Best of Luck!