@Override protected void onUpdate(float deltaTime) { _time += deltaTime; float x = (float) (8 * Math.cos(_time)); float y = (float) (8 * Math.sin(_time)); float z = (float) (8 * Math.cos(_time * 0.7f)); _currentCamera.setPosition(x, z, y); _currentCamera.setDirection(-x, -z, -y); }