Converting to 2D space

So I have started converting this code into a project for 2D, and the followoffset does nothing, but ortho size DOES. Would the correct modification method in this case involve using ortho size? IE locking the zoom between 1 and say 8 ortho and incrementing over mouse scrolling as before?

Yes Zooming in 2D can only be done by modifying the orthographicSize, in 2D camera distance is irrelevant so changing the follow offset to move closer/further won’t do anything.
The solution is indeed to modify the OrthographicSize on the Cinemachine Lens and use Lerp just the same to make it smooth.
I covered a 2D Camera System here https://youtu.be/pJQndtJ2rk0?t=2209

3 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms