how to apply the collider on animated body

Transform palyer;
void Update()

{
player=GameObject.FindGameOBjectWithTag (" palyer"),tarnsform;
}
// i am using this taging mathod for tag my player but my zombies are not working properly their collider is not working they entre in to any object
plz ans

I would suggest to make the collier a box for the objects.
You need to put a rigidbody on them too to apply physics.