Goal: I want to smoothly zoom in/out WHILE scrolling to a point point, WITHOUT it feeling wonky or swingy.
What math formula can I use to achieve this?
Problem: It feels like the camera is doing a curving swing rather than a straight zoom. I'm currently only using a basic Lerp formula for this.
Capx, showing my attempt using Lerp:
Visual illustration of how I would ideally like it to work, if I was good at maths:
The thick red lines representing the final and starting zoom sizes.