Quantcast
Channel: Latest Questions by Wrymnn
Viewing all articles
Browse latest Browse all 131

Smooth 2D camera zoom

$
0
0
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?

Viewing all articles
Browse latest Browse all 131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>