Adding camera collision detection.