Making walls impassible

As wierd as it sounds I can’t find ANYTHING on how to make a wall. I can make a wall model, but i can’t make my player not able to pass through it.

I know it’s really simple but I just can’t find it.

Thanks for the help!

In the hierarchy tab click on the arrow next to the object you want to add the collider to. Then select the mesh, go up to the toolbar and select Component->Physics->Mesh Collider. It will tell you that it’s losing the prefab connection. For now, that’s ok so just hit add. If you don’t want to have to do this every time you bring the object into a scene, you need to create a prefab. Check out this link for that:

http://unity3d.com/support/documentation/Manual/Prefabs.html