diff --git a/main.cpp b/main.cpp index a5f218c..697e85b 100644 --- a/main.cpp +++ b/main.cpp @@ -879,7 +879,7 @@ void Demo::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) { CoordinateFrame frame = app->debugCamera.getCoordinateFrame(); - if (moving | app->debugController.active()) + if (moving) { cameraPos = frame.translation; if(forwards) @@ -903,7 +903,7 @@ void Demo::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) { frame.translation = Vector3(cameraPos.x, cameraPos.y, cameraPos.z) + frame.rightVector()*moveRate; } moving=false; - app->setFocalPoint(frame.translation + frame.lookVector() * 10); + app->setFocalPoint(frame.translation + frame.lookVector() * 15); } //app->debugCamera.setPosition(cameraPos); if(centerCam)