my zombie keeps going through me and walls

hello,so i was making a zombie game and before i even put the animation on the zombie i was able to walk right through it but when i put the animation on the zombie it was walking to me and it was going through walls and it was walking right through me like air so a guy on unityanswers told me to re post my question with a screen shot of my navmesh because he said it has something to do with it so ill show you the screen shot and my script.

I can’t see it on the screen so I better ask it. Have you put a RigidBody on both game objects?If not then do, that’s more than likely why you can walk through them.

make sure rigidbody is above that script.