Not much help but I setup camera from .scene with this code:
....
scene = new Scene(app.getAssetManager().loadModel("Models/city/city.scene"));
scene.SetSceneCamera(app.getCamera(), "Camera01");
....
public void SetSceneCamera(Camera cam, String cameraName)
{
Node n = (Node) (((Node) scene).getChild(cameraName));
if (n != null)
{
cam.setLocation(n.getWorldTranslation());
cam.setRotation(new Quaternion(-n.getWorldRotation().getZ(), n.getWorldRotation().getW(), n.getWorldRotation().getX(), -n.getWorldRotation().getY())); // hack?
}
}
This works when exporting scene with ogremax, but now tested with blender’s .scene exporter and cam.SetRotation is wrong, camera
looks at the wrong direction (but at least camera’s position is right).