Simply use:

camera.x = player.x;
camera.y = player.y + 50;
camera.z = player.z - 50;

Or something...that should get the camera to move along with the character?