I have a 3d house and I have a few cameras set up inside the house and its like a virtual tour. I have this script that I’m using for scrolling forward and panning left and right on my cameras-
[1]: http://wiki.unity3d.com/index.php/MouseCameraControl
I would like to be able to prevent the user from going through walls. I have tried adding colliders and Ridgebodys to the camera and walls. I have also tried other solutions I have found on here but I can’t get them to work. I have also tried to use this script as well-
http://wiki.unity3d.com/index.php/DontGoThroughThings
I would appreciate any help on this I have been stumped for awhile.