Hello,
I am having the same issue than redfalcon and indeed, separating doesn't work.
I made a bit of code to see the difference between normal and rotation/translation separated :
_cameraMat.setDump(matrix);
_camera.setBack(_cameraMat);
Log.d("JpctEngine", "Valeur camera : " + _camera.getPosition().x + ";" + _camera.getPosition().y +
";" + _camera.getPosition().z);
Log.d("JpctEngine", "Valeur camera : " + _camera.getXAxis().x + ";" + _camera.getYAxis().x +
";" + _camera.getZAxis().x);
float x = matrix[12]; float y = matrix[13]; float z = matrix[14];
matrix[12] = matrix[13] = matrix[14] = 0;
_cameraMat.setDump(matrix);
_camera.setBack(_cameraMat);
_camera.setPosition(x, y, z);
Log.d("JpctEngine", "Valeur camera : " + _camera.getPosition().x + ";" + _camera.getPosition().y +
";" + _camera.getPosition().z);
Log.d("JpctEngine", "Valeur camera : " + _camera.getXAxis().x + ";" + _camera.getYAxis().x +
";" + _camera.getZAxis().x);
It is strange because getPosition and get*Axis give the same results for both but the separated one doesn't place the camera well... And still no picking...
From what you were writing there, it is a problem with the getPosition that returns {0.0,0.0,0.0}.
Would it be possible then to extends Camera and Overriding setPosition/getPosition to make the reproject2D3DWS and calcMinDistanceAndObject3D works (assuming it uses getPosition to work) ?
I can't test it now as I don't have my source right now, but i'll try tomorrow if you don't tell me it is useless before