third person Camera problem

I have a problem with the third person camera. I used the spring follow camera script from Lerpz tutorial.
It passes through the terrain.I tried to assign a collider to camera in order to adjust the distance and height between the camera and the character but it didn’t seem to work.It didn’t collide with the terrain.

Any suggestions?

at a guess, and it is a guess as I am only learning myself; try ensuring the terrain " is trigger" checkbox ticked?

Moreso I am led to believe that ray casting is a better way of checking terrain and predictive collisions than pure collider checks?; But with the capsule collider element of the FPS and 3rdPS scripts it should track terrain ok I reckon… probably best to post scripts for more help than I can offer tbh!