Have 2D Top Down game.
I need some Smooth Ortographic Camera zoom in it.
So far this is not working, it`s pretty fast and not smooth.
camera.orthographicSize = Mathf.Lerp(camera.orthographicSize, camera.orthographicSize + Input.GetAxis("Mouse ScrollWheel") * 100, Time.deltaTime * zoomSpeed);
Any Ideas please?
↧