You can use the “Procedural Mesh Component” to achieve this. If you haven’t used it before, you can check out this tutorial to understand the workflow: