So you got your camera and all setup to follow a Mesh or a Player but you find out that when your mesh is in a tunel and turns, the camera passes to the outside of the tunel, back and forward.
All you need to do is set the Camera as a No Sleeping Static/Dynamic Actor and adjust the Radius to your needs. If the Radius is bigger than the tunel the camera can just go above or under the tunel. Also don’t forget to play with the Damp and the RotDamp if your camera is moving around too much in the tunel or building and set the Bounds to Box or any other more convenient shape.
This is a problem that tortured me for quite long so I hope this can be helpful to new blenderers like me.
Its not perfect so any other way that anybody knows to prevent camera that follow an object to Cross it or other objects please I would be very glad to learn.
Thanks