Can I set camera to avoid go through object when "Set View Target With Blend"

Hi all,

I have a building and many hot spots around it. So when I change to camera from behind to front the building. So the camera will go through the building.

Is there any way to tell the engine that the building is some kind of blocking object. Camera should find other way to avoid the camera.

Thank you very much.