# Procedural Mesh Generation. What choose?

**URL:** <https://forums.unrealengine.com/t/procedural-mesh-generation-what-choose/349978>\
**Category:** World Creation\
**Tags:** unreal-engine, procedural, UE4, CPP, question\
**Created:** [March 8, 2016, 10:23pm UTC](https://forums.unrealengine.com/t/procedural-mesh-generation-what-choose/349978 "2016-03-08T22:23:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexey\_Helmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alexey\_Helmer](https://forums.unrealengine.com/u/Alexey_Helmer)\
**Post date:** [March 8, 2016, 10:23pm UTC](https://forums.unrealengine.com/t/procedural-mesh-generation-what-choose/349978/1 "2016-03-08T22:23:17Z")

</div>

Hello, all!

How correct mesh generation? I have some points (of triangles) and I want generation meshes with collision.

UCustomMesh generation only visual component.

UProceduralMeshComponent mast generation meshes with collision, but the don do it. I use this tutorial:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Where I wrong? May be comebody can help me?

---

<div class="post-metadata">

**Author:** ![vipw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vipw](https://forums.unrealengine.com/u/vipw)\
**Post date:** [July 7, 2016, 8:27pm UTC](https://forums.unrealengine.com/t/procedural-mesh-generation-what-choose/349978/2 "2016-07-07T20:27:49Z")

</div>

The last parameter to `CreateMeshSection` is `bCreateCollision`. You need to set it to `true` instead of to `false` for collisions to work.

Keep in mind that there is a big performance penalty for using it. I think the optimal way to do it is to make a second invisible procedural mesh with less polygons that envelopes the first procedural mesh and enable collisions on it.
