# Static mesh 'volume' overlapping

**URL:** <https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915>\
**Category:** Asset Creation\
**Tags:** overlapping, unreal-engine, question\
**Created:** [August 24, 2021, 10:15am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915 "2021-08-24T10:15:22Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 24, 2021, 10:15am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/1 "2021-08-24T10:15:22Z")

</div>

I have big static mesh (not regular). Collison preset are the same as colision sphere. Mesh have complex collision set as default.

Actor crossing sphere generate ‘on overlap begin’ event and continue this staying inside it. ( good for me )  
Mesh generate this event only at the edge. (like no volume insdie). Inside overlaparray is empty.

How to tell UE4 that mesh have volume (is closed)?  
Any idea?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2021, 10:43am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/2 "2021-08-24T10:43:07Z")

</div>

This is the same for collision volumes also. That’s why the event is called -begin- overlap.

If you want to know if something is still overlapping something else, you can use one of

 ![347123-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/6/7d63ed679cc3fa7efd04557b083efdc0c3e16167.jpeg)

Most likely one of the first two…

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 24, 2021, 10:52am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/3 "2021-08-24T10:52:52Z")

</div>

Those arrays are empty when actor is inside staic mesh. (that I ask there why)

I must import/prepare mesh different? (eg generate complex or simple collision inside UE4 - or import it?)  
Set extra ‘collisions’ ?  
Set doubleside mesh?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2021, 11:29am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/4 "2021-08-24T11:29:31Z")

</div>

It’s better not to do it with a mesh. Put the mesh in a blueprint and surround it with a collision volume.

EDIT: Scratch that. Just set the collision on the mesh to ‘overlap all’ and tick the ‘generate overlap events’ box.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2021, 11:33am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/5 "2021-08-24T11:33:08Z")

</div>

![347124-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/3/743dcdef65b1992fd66acd0edceb0a878016114a.jpeg)

![347125-meshoverlap.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/4/4a4c8226a8e8009635fcc89bee284dec0000d72d.gif)

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 24, 2021, 12:13pm UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/6 "2021-08-24T12:13:46Z")

</div>

I know. But I try recreate ‘Red zone’ for the map. It is non regular, big (ok not much relevant) and I must have two sets per map. Going with surrounding volumes isn’t good way (IMHO) and too much work to set it. My idea was to simplify all process and start from spline around map. Convert it to mesh and relevant minimap image. Another route is convert image to database set and compare locations. Effect same but much heavy ram usage and few more problems with UE4.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2021, 12:37pm UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/7 "2021-08-24T12:37:54Z")

</div>

The example I have above, is just a mesh.

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 24, 2021, 3:12pm UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/8 "2021-08-24T15:12:07Z")

</div>

Here is example with code that you send [https://youtu.be/4YmZAwdDxrc](https://youtu.be/4YmZAwdDxrc)  
Going ‘inside’ works like exiting zone. Only borders works.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2021, 6:49pm UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/9 "2021-08-24T18:49:01Z")

</div>

Well, you can see it working above with a plain cube. So either there’s something up with the collision settings or, I’m wondering, does the collision of the mesh actually match the mesh shape?

Have you tried turning on player collision view?

![347193-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/c/a6c57bc1d945a211d44d84d9a1efaeac9efb9d8a.jpeg)

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 24, 2021, 8:35pm UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/10 "2021-08-24T20:35:51Z")

</div>

I know. But I try recreate ‘Red zone’ for the map. It is non regular, big (ok not much relevant) and I must have two sets per map. Going with surrounding simple volumes isn’t good way (IMHO) and too much work to set it. My idea was to simplify all process and start from spline around map. Convert it to mesh and relevant minimap image. Another route is convert image to database set and compare locations. Effect same but much heavy ram usage and few more problems with UE4.

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 24, 2021, 11:37pm UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/11 "2021-08-24T23:37:55Z")

</div>

![347139-colisions.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/8/b38aed24565f9afa397ca887badc1f2c0c3e9d41.jpeg)

Seems ok.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 25, 2021, 7:53am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/12 "2021-08-25T07:53:17Z")

</div>

Hmmm, I’m at a loss, sorry.

Maybe if you want to attached the mesh as an FBX, I’ll take a look…

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 25, 2021, 8:23am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/13 "2021-08-25T08:23:04Z")

</div>

link text  
No worries. Thx for your help and time. This helps me a lot. now I know that I need search for bugs elsewhere.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 25, 2021, 8:41am UTC](https://forums.unrealengine.com/t/static-mesh-volume-overlapping/487915/14 "2021-08-25T08:41:17Z")

</div>

Yeah… Capsule review is ‘it’s not gonna work’ :-/

I blew it up to about 50 x and tried it.

The collision won’t continue triggering when the player is inside the mesh, it only works on the edges.

I tried the same thing with a collision volume, and the check fires constantly, even when the player is miles from the edge.

EDIT: I guess you could make a spline blueprint that spawns collision volumes…
