# UE4: How to make UProceduralMeshComponent a solid body, not just a surface around volume?

**URL:** <https://forums.unrealengine.com/t/ue4-how-to-make-uproceduralmeshcomponent-a-solid-body-not-just-a-surface-around-volume/497046>\
**Category:** C++\
**Tags:** procedural-mesh-comp, unreal-engine, Physics\
**Created:** [February 11, 2022, 6:16pm UTC](https://forums.unrealengine.com/t/ue4-how-to-make-uproceduralmeshcomponent-a-solid-body-not-just-a-surface-around-volume/497046 "2022-02-11T18:16:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mykola.shatokhin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mykola.shatokhin](https://forums.unrealengine.com/u/mykola.shatokhin)\
**Post date:** [February 11, 2022, 6:16pm UTC](https://forums.unrealengine.com/t/ue4-how-to-make-uproceduralmeshcomponent-a-solid-body-not-just-a-surface-around-volume/497046/1 "2022-02-11T18:16:07Z")

</div>

I generated the UProceduralMeshComponent and set collision enabled to ECollisionEnabled::QueryOnly.

But I get ActorEndOverlapEvent if I stop touching the mesh border even if I still inside of mesh body. So, how to make it solid to get this event only if I left from the mesh volume (like in ATriggerBox for example)?

---

<div class="post-metadata">

**Author:** ![SeniorCPPbutNewToUE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SeniorCPPbutNewToUE](https://forums.unrealengine.com/u/SeniorCPPbutNewToUE)\
**Post date:** [June 3, 2024, 3:22pm UTC](https://forums.unrealengine.com/t/ue4-how-to-make-uproceduralmeshcomponent-a-solid-body-not-just-a-surface-around-volume/497046/2 "2024-06-03T15:22:48Z")

</div>

All your typical meshes are just a surface around a volume.

If you are converting the procedural mesh into a static mesh, you need to look into creating a new simple collision for that. The default collision is a complex recreation of the mesh but your simple alternative can be the volume that you want to have.
