How to rotate a mesh collider?

I have a door that I imported from blender, I made a script for her to open when I press “e”, but when she opens the mesh collider doe not rotate along with it, he just stands there and can’t get through the door. How do I get it that the mesh collider rotate along with the door?

It really depends on how you animated / set up your door. There are many different solutions for different cases.

I assume the mesh collider component is attached to a GameObject that isn’t controlled by the door’s rotation? Perhaps attach it to a gameObject who’s transform rotates along with the door (e.g. a “bone”). Be sure to set the mesh collider mesh to your door mesh.