ehlo…
i just started yesterday with Xith3d and i’m trying to figure out the update of the camera position.
i used tutorial code and some code from here to get it working…
i can rotate the camera, i can move the camera, but when i move the camera, i want to be able to rotate around the new point…and not the center of the scene…
i have a galaxy…full 3d and i need to implement free movement and rotation around the new point and rotation around selected objects (which are quite simila i think)
i just need to know how to tell him, which coordinates to use…
i tried:
translate is Transform3D
and objTranslate is TransformGroup
transXTmp, transYTmp, transZTmp are new coordinates
private void performTranslation() {
translate.setTranslation(new Vector3f(transXTmp, transYTmp, transZTmp));
objTranslate.setTransform(translate);
// performCameraChange();
}
or
view.getTransform().setTranslation(new Vector3f(transXTmp, transYTmp, transZTmp));
and many other combinations of whatever was available
but no success
id be happy, if anyone could tell me how to do that…or at least point me in the right direction…as i’m lost after many hours of struggle…
i’ve read IMHO all the camera topics here, but couldn’t fing the answer…
i even tried the lookAt method…but i can’t figure out what 3 vectors i have to put in…cause i need total freedom (the up vector is not always 0,1,0…and im not a mathematical genius 
