How to change mesh collider?

When I change character’s animation, I want to also change mesh collider’s mesh.
How can I change mesh collider’s mesh?
Thanks!

That will not work.

non convex mesh colliders will take a long time to recalculate their collision trees and in addition you would miss many to all collisions as there is no collision check whenever you replace the mesh (you can only set a new one, not animate from one to another. There is no animated mesh collision)