Reposition Camera Behind Player with Button Press
I have a 3D character that moves in all directions and a camera that rotates around them in all direction. My camera rotates around using Cinemachine's Freelook camera (this might not be relevant). I just want the camera to reposition behind my character whenever I press a certain button. I'm not used to programming camera behavior so this is pretty new to me. If anyone knows what can help me, please let me know.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613000336im_/https://answers.unity.com/themes/thub/images/avi.jpg)