Hi Anthony,
we have another small problem. We use the WASD control from your custom controls demo scene.
That works so far also wonderfully.
But we use the zoom function from the standard controls of the camera (mouse wheel zoom).
When the game starts and you haven't even moved the camera (WASD) and zoom directly out, the camera moves horizontally when reaching the boundary and slows down until it stops (I think this is a lerp).
However, if I move the camera with WASD before and then zoom out, this does not happen. I guess this is because MoveCameraToInstant() was called for the first time after using WASD.
cameraPerspective.MoveCameraToInstant(
manualOffset,
cameraPerspective.FinalDistance,
cameraPerspective.FinalRotation
);
I tried as a workaround in Awake and also in OnFocusComplete() simply to use
cameraPerspective.MoveCameraToInstant(
cameraPerspective.FinalPosition,
cameraPerspective.FinalDistance,
cameraPerspective.FinalRotation
);
to stop the camera from moving automatically when the maximum zoom level is reached. However, this leads to crazy behavior.
Thanks a lot
Dennis