Start in a nicer zoom.

#story[1301]
main
Jessica Syder 8 years ago
parent 68dfa2d27a
commit 1645933a94

@ -81,7 +81,7 @@ public class View3D extends Pane {
/** /**
* Distance to stop zoom * Distance to stop zoom
*/ */
private final double ZOOM_IN_LIMIT = 3; private final double ZOOM_IN_LIMIT = 15;
private final double ZOOM_OUT_LIMIT = 700; private final double ZOOM_OUT_LIMIT = 700;
private final double MAX_ZOOM_LIMIT = 1150; private final double MAX_ZOOM_LIMIT = 1150;
private final double MAX_PITCH = 60; // birds eye view private final double MAX_PITCH = 60; // birds eye view
@ -188,7 +188,7 @@ public class View3D extends Pane {
* Configures camera to third person view * Configures camera to third person view
*/ */
public void setThirdPerson() { public void setThirdPerson() {
this.setDistance(ZOOM_IN_LIMIT * 2); this.setDistance(ZOOM_IN_LIMIT * 5);
adjustPitchForZoom(); adjustPitchForZoom();
adjustScaleForZoom(); adjustScaleForZoom();
} }

Loading…
Cancel
Save