A single static mesh varying collisions

Hi, i am going to post something that might sound stupid but it could have been attempted and solved. But due to my limited intellect, was hoping the hive mind would be able to give me a light.

As with the image given, it was a single static mesh that was made to “swing” its door via changing a material instance variable. The problem was how can i handle the collision to make it looked like it was made with a blueprint (with two static meshes, doorframe and a swinging door)?

Any expert for this?

StaticMeshCollisionA.jpg

Just split those to two separeate mesh and use blueprint. Collision wont know anything about what happens on material graph.

Looks like a futile attempt (wireframe collision). Thanks for the advice.