How can I smooth out collisions?

Hello everyone.

When the player moves towards a wall and the controls continue to be used, that is, there is a wall to the right and I keep pressing, for example, the letter A. What happens is that the camera begins to vibrate.

What I can do?

I believe there is something called damping that deals with subtle movements like mentioned. Maybe i have the word wrong but there is something to fix this. Here is a link that may help:

Add Camera Damping at Rotation and Position … - Unity Forum

Thank you very much… Now only the player vibrates

You can also visit another publication. I’d be really grateful