Hi, my game is a third person game in a tightly closed indoor area. My camera will often reaches the wall and when it collide with the wall, it will move forward towards the player. The problem is that sometimes the collision between the wall and camera happens too fast and it didn't detect the collision, thus the camera went through the wall.
Is there any 100% successful method to preventing the camera from penetrating past wall?