// Fallback solution, we can compute the direction with
// a given target vector and the position.
dir = DOMUtil.get3DVectorAttribute(camera, "target");
if (dir != null) {
// compute direction
dir.sub(pos);
// set distance to center of orbit
view.setCameraDistanceFromCenterOfOrbit(dir
.length());
} else {
if (log.isErrorEnabled()) {