Camera Collision(The Best Way)

Please feel free to ask any questions on how it works.

.Blend
Camera Collision.blend (442 KB)


Any blend for this cool idea?
thank.

If you move the camera parent more back it goes through the wall ?

it doesn’t matter where the camera parent is, as long as the ray always points toward the camera parent, there wont be a problem. I guess you can have an object track to the camera parent so the ray always points to it. Its a template, if u want to move the camera parent u can, just make sure the ray always complies with the diagram I show.

Thank you very much.