Can't make an animated object solid

I’ve created an object and added an animation to make it move slowly around the scene. However, my 3rd person character controller (the construction man) can still pass through this object even though I have given the object a mesh collider/box collider/rigidbody and/or I give the character a box/mesh collider.

I added a box and gave that a collider which my man can’t pass through, but if i add the box as a child of the animated object (to make the box also move) my man can pass through it again.

I’d like to make it so the animated object is solid so the character can’t walk through it.
any help please?

ta

How do you move your character controller? Animation will not work. Transform.Translate neither. You need character controller move or simple move method to trigger collisions. Have a look at the manual:

The character controller is the standard 3rd person controller in Unity. Everything works until I give asn object an animation then the characet just passes through. So If I animated a door to open then I want the door to be solid.

The problem I have is NOT with the character controller. The problem I have is that when i add an animation to an object (ant object) the my character (3rd person controller) can just walk through it! Character controller stops when it interacts with a collision box (say a wall) but even a collison box applied to the animation doesn’t stop the character (collision box seems to not take effect).

The problem is: I have a door that I’ve animated to open when the 3rd person character gets close. it opens fine, script works fine. But the door is not solid (character can walk through it) even though I have applied a collision box.

help?