Change Camera's size relative to player's speed
How to make the camera zoom in/out when the GameObject that it follows decelerates/accelerates?
Just like in this game (Bike Race): https://www.youtube.com/watch?v=dr3NowBIB7g&t=837s
My camera is using the Orthographic projection. I tried increasing or decreasing its size relative to the player's speed, and it worked but it was very laggy.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612151403im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get rid of double movement speed? 1 Answer
Targeting Player when Zooming Camera 0 Answers
Moving a character regardless of the camera position 0 Answers
How do I make my player's movement relative to Main Camera's direction? 1 Answer
Trying to connect camera movement with player AND mouse 0 Answers