Hi Everyone, I was curious about doing a trick with my games camera. I’m building a Sonic like game with a boost feature, and was wondering how you’d smoothly do a camera zoom in and out effect upon Boosting like how they do it in games like Shadow Generations. I was just adding distance on the target arm length then reverting it with a timer but was running into the problem of if I spammed the button it kept zooming things out.
I’ve attached a clip of both the source I’m trying to achieve and where my game is currently at if references help.