How can I get collider to work?

Greetings! this is my first question here, I’m a beginner at unity so there might be something I don’t know about in this, I’m working on a simple zombie survival game, I’ve already created the player animations and the map, exported it to unity and everything 's going so far so good now, managed to make him walk and run, he walked through walls, so I went to add collider on all the buildings and on all the player’s parts and joints. (Tried box collider, didn’t work, then mesh collider, didn’t work, then went back to box collider.) I also read that one of the 2 colliders needs to have a rigid body, I added on the buildings, but didn’t work.

I even tried to do a test, opened new project, created a sphere, put colliders on both of them, and rigid on sphere, the sphere went through the cube… (Note that I have Is Trigger on)

I have Unity 5, windows 10.

The Rigidbody should be on the object that should change its movement/position on collide.
So if you are using physics (AddForce) to move your player, it should have a rigidbody and a collider (e.g. capsule collider) and then it should not be able to walk through walls.

That is what I am using. If your player is not Hulk, a wall with a box collider should stop him.

EDIT: AHHH! Just saw you have “IsTrigger” on. That won’t work. Objects don’t collide with triggers.