Seems your collision box has some gaps or they are too thin so the camera pawn has a chance to go through.either larger you collisions, or you could manually find a location where you think is the maximum left,right,forward and backward.write each location’s XYZ on paper.and then before moving camera first check if it’s location XYZ number greater or less then what you have written down .if it reached the boundaries just set it’s location to equal that boundary.