I'm trying to make an RTS but I can't get the main camera to collide with objects. I've also tried to use a box to make it so the Camera (or, camera and box in the second case) doesn't phase through objects, how do I avoid this (I am using a first person camera)?
I assume you're using a third-person camera. you can cast a ray from the focal point to the camera and place the camera at the point of collision (if there is one).