In my game, you can sprint with shift. I want to make it so that when you are sprinting, the camera zooms out. I’m new to Unity by the way.
If the camera following script has a follow distance, you can transiently increase it during sprinting, then reduce it when you start walking again.
If it does not have such a follow distance explicitly supplied, either a) get a script that does, or b) modify the script so that the follow/holdback distance can be controlled.
1 Like