# Create Mesh / Volume Shapes from Spline?

**URL:** <https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596>\
**Category:** AI\
**Tags:** spline-point, spline-mesh-componen, unreal-engine, question\
**Created:** [April 8, 2021, 1:30pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596 "2021-04-08T13:30:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tettey\_Nartey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tettey_nartey/32/882427_2.png) [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Post date:** [April 8, 2021, 1:30pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/1 "2021-04-08T13:30:25Z")

</div>

So I wanna know is it possible to create a Mesh Shape from the Spline tool? I’ve seen this being done only and ONLY once in a video but literally nobody has something on this.

I ask this because I thought it’d be cool to try out an idea, or more basically, a theory:

I want to make Sidewalks for my game. an easy thing if you just put in the mesh or Spline of Sidewalk meshes. However, looking at a real life map, the blocks where Sidewalks are made are Asymmetrical or no equilateral shapes. I did make an actor that spawns Sidewalks but it’s just for that one square shape, so it’s just repetitive. It’s simple, but not quite effective.

 ![335251-sidewalks-creation-methods.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/3/6b392771934106cfdfc696079d7f3be715341392.jpeg)

So I went with the Spline approach. My only issue is the empty space within the closed loop of sidewalk. What do I do with that?

 ![335240-sidewalks-creation-methods-spline-closed-loop.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/0/81027f0130a2729662b1a4933efa0474f5fa94a5.jpeg)

I could just put the Buildings to block that, but I want the city block to be able to be seen from the top view.

Also While I was able to get what I sort of wanted, the points on the Spline are red now, and when I move one of the points the segment separates itself from the rest of the Spline, rather than how you’d normally see the Spline move.  
You can see how a segment of the spline splits from the rest for the one on the right.

 ![335239-spline-red-dots.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/c/9ac50043ba6a0c376c691039d6986b77b2893d83.jpeg)

I only toggled the Closed Loop box in the Details panel and I think toggling it off gave me this result. Can anyone test this out to see if that what causes this?

So Bottom Line:

1. Can I Use the Spline Tool to create shapes that can be made into a mesh?
2. What do I do about the empty space within the Closed Spline Loop?
3. How do I fix that red dots issue with my current Spline setup?

Blueprint setup will be uploaded shortly.

---

<div class="post-metadata">

**Author:** ![Tettey\_Nartey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tettey_nartey/32/882427_2.png) [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Post date:** [April 9, 2021, 3:58pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/2 "2021-04-09T15:58:25Z")

</div>

Setup

 ![335300-spline-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/4/72405c295eb24b17d76c80731da4294cbaa449ed.png)

 ![335411-spline-blueprint2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/d/d9da761e6fd7607903176e1b3a00f161caf1be27.png)

---

<div class="post-metadata">

**Author:** ![Spudgunn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spudgunn/32/88718_2.png) [@Spudgunn](https://forums.unrealengine.com/u/Spudgunn)\
**Post date:** [May 27, 2021, 11:39pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/3 "2021-05-27T23:39:53Z")

</div>

Have a look here

> **[Planar Meshing from Outline Part 1](https://www.linkedin.com/pulse/planar-meshing-from-outline-part-1-ryan-gadz/?fbclid=IwAR2Cy4ml3u1Y5PD4FGNyGuu0qiHmNZ2KK0s_vpSPQgt8ZCvohZZ0QDWL0OI)**
>
> An outline is an incredibly useful tool in computer graphics. It provides enough information to fill in text, make procedural generated shapes, or fill in user drawn areas during run-time of a content creation application.

If you’re trying to fill in the space inside your spline.

This is something I am working on currently, however I want my player generating the spline in real time, then once they overlap the spline it creates the closed loop and generates an effect inside the shape drawn. Is proving to be a nice little challenge for someone new to UE4 🙂

Hope this helps

---

<div class="post-metadata">

**Author:** ![Tettey\_Nartey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tettey_nartey/32/882427_2.png) [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Post date:** [May 28, 2021, 5:43pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/4 "2021-05-28T17:43:37Z")

</div>

Thank you very much! I will definitely take a look into this. Will have to go to work but will definitely take time to study this; again, many thanks!

---

<div class="post-metadata">

**Author:** ![Spudgunn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spudgunn/32/88718_2.png) [@Spudgunn](https://forums.unrealengine.com/u/Spudgunn)\
**Post date:** [November 26, 2023, 11:13pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/5 "2023-11-26T23:13:20Z")

</div>

For anyone that might come across this now, as of 5.2 Unreal has a built in feature called “Procedural Content Generator” or PCG for short. This makes generating and populating the internal area of splines very quick and simple.

---

<div class="post-metadata">

**Author:** ![IAMTHEARMAGEDON](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IAMTHEARMAGEDON](https://forums.unrealengine.com/u/IAMTHEARMAGEDON)\
**Post date:** [April 18, 2024, 3:29am UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/6 "2024-04-18T03:29:53Z")

</div>

I’ve been trying to track down a tutorial or any documentation on this, do you know of any examples that actually do this?

---

<div class="post-metadata">

**Author:** ![HugoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hugod/32/931219_2.png) [@HugoD](https://forums.unrealengine.com/u/HugoD)\
**Post date:** [May 2, 2024, 6:50pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/7 "2024-05-02T18:50:23Z")

</div>

Also the plugin “Geometry script” has functionality to create a plane from a closed spline loop.

---

<div class="post-metadata">

**Author:** ![Kanaru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kanaru](https://forums.unrealengine.com/u/Kanaru)\
**Post date:** [May 29, 2024, 8:15pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/8 "2024-05-29T20:15:25Z")

</div>

Is there a way to dynamically mark an actor as “within this volume” with this approach though? With a simple cube volume it would just be overlap and end overlap, is that still possible?

---

<div class="post-metadata">

**Author:** ![SovietArchitect](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sovietarchitect/32/897300_2.png) [@SovietArchitect](https://forums.unrealengine.com/u/SovietArchitect)\
**Post date:** [February 27, 2025, 3:48pm UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/9 "2025-02-27T15:48:14Z")

</div>

> [@HugoD](#):
>
> to create a plane from a closed spline loop

Can you please explain how to do this\>?

---

<div class="post-metadata">

**Author:** ![msum](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/msum/32/1041232_2.png) [@msum](https://forums.unrealengine.com/u/msum)\
**Post date:** [March 12, 2025, 6:36am UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/10 "2025-03-12T06:36:19Z")

</div>

Here’s one way of doing it (in UE 5.5):

> **[Spline to Polygon Surface posted by anonymous | blueprintUE | PasteBin For...](https://blueprintue.com/render/s529kmwo/)**
>
> No description provided

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/2/5d2c6db8e935f1b8d9181e3c8e1a8c06b20c11e6.jpeg)

You will need to create a new BP Class inheriting from Generated Dynamic Mesh Actor.  
Then call / override the Rebuild Generated Mesh event.

Alternatively, you can do it on a Dynamic Mesh Component as well, just Get Dynamic Mesh from it and follow the same logic as above.

In the meantime, I wish someone could explain why do we need to map newly created Mesh Vertices back to Spline/PolyPath Vertices (otherwise it’s just a flat plane within the Spline boundaries).  
Shouldn’t that happen automatically upon Polygon creation?

Credits: [Using Geometry Script and Blueprints to Quickly Replace Cesium Tiles | Tutorial](https://dev.epicgames.com/community/learning/tutorials/1GYl/unreal-engine-using-geometry-script-and-blueprints-to-quickly-replace-cesium-tiles)

---

<div class="post-metadata">

**Author:** ![vmc\_petter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vmc\_petter](https://forums.unrealengine.com/u/vmc_petter)\
**Post date:** [May 1, 2025, 5:13am UTC](https://forums.unrealengine.com/t/create-mesh-volume-shapes-from-spline/481596/11 "2025-05-01T05:13:28Z")

</div>

> [@msum](#):
>
> In the meantime, I wish someone could explain why do we need to map newly created Mesh Vertices back to Spline/PolyPath Vertices (otherwise it’s just a flat plane within the Spline boundaries). Shouldn’t that happen automatically upon Polygon creation?

I guess it’s because **“Conv Geometry Script Poly Path To Array Of Vector2D”** and **“Append Triangulated Polygon”** appear to only work with 2-dimensional vertices (judging by the name)? So it’s necessary to add a second step that applies the height coordinate as well.
