Creating a Collision Model (of some sort) Using Vertices

I wrote a script that got the vertices of an EditableMesh and I made it create parts where the vertices were to visualize it, but how do I create a collision model or something out of it so I can interact with it similarly if not the same as a normal mesh part?