"MvC 3" camera style

Hey!, hello, I’m new on jMonkey, and I was wondering, I’m trying to develop a “fighiting” 2D style game, but with 3D graphics, my question is,

How can I make the camera Zoom-in, zoom-out, depending the distances between two spatials?,

Thanks very much in advance.