#Camera jitters while rotating

3 messages · Page 1 of 1 (latest)

narrow abyss
#

Hi! I implemented this camera system that zooms closer to the player when there is a wall between the player and the camera. When this happens and my character moves, the camera follows him smoothly. However if I start rotating the camera instead of moving the player, the camera starts jittering and it looks very jarring. How can I fix this so rotation looks as good as translation?

https://streamable.com/8bveh8

#

this is what my camera scene looks like

#

and here is it's script