# Physics actor + Overlaps with autoweld = Enter&Exit both Firing

**URL:** <https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818>\
**Category:** World Creation\
**Tags:** unreal-engine, Physics, bug-report, feedback, Blueprint, question\
**Created:** [June 23, 2015, 10:50pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818 "2015-06-23T22:50:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 23, 2015, 10:50pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/1 "2015-06-23T22:50:30Z")

</div>

If you create a blueprint, lets say an actor class with a mesh and enable physics on it, then add a box collider (I tried a triger box attached to BP too) that overlaps static meshes collider in anyway and then do OnBeginOverlap(BoxCollider) { doSomething; } and OnEndOverlap(BoxCollider) { doSomethingElse; } when you overlap box with say 1p char it fires both begin and end at same time, and continuously.

Me and a partner spent a day playing with collissions settings, per poly, CCD, async detection, checking to make sure otherActor != staticMesh etc. no cigar.

Physics + Overlaps in 4.8 are completely unusable, or is this intended?

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [June 24, 2015, 8:27pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/2 "2015-06-24T20:27:24Z")

</div>

Hi ,

To help us better understand your issue, could you also post some screenshots showing your setup?

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 8:52pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/3 "2015-06-24T20:52:27Z")

</div>

Collission box in static mesh near drivers controls which has “floors” for player to walk on (its a boat)

Setup my partner made to show weirdness, fresh.

[[http://i.imgur.com/amJcZQu.png](http://i.imgur.com/amJcZQu.png)][1]

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/e/1de488a2c86804f05814e69e5769c5b57eb04d0f.png)  
Both Enter and Exit are firing continuously when character enters it and stop when player exits.

I remove my statement: even if collision box is not touching static meshes collision primitives (made manually in SM editor) they are still both firing.

I will attempt to replicate on a fresh project tonight if I have time however we’ve re-created actor numerous times and nodes etc.

---

<div class="post-metadata">

**Author:** ![Avolanty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Avolanty](https://forums.unrealengine.com/u/Avolanty)\
**Post date:** [June 24, 2015, 8:58pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/4 "2015-06-24T20:58:50Z")

</div>

Yeah its using physics on boat, character walks to overlap box and both of these things are firing every tick, boat is moving as well with overlap as a child component to ocean waves. Could it be that if overlap keeps moving with parent boat that it will continuously fire a begin and exit overlap? Even if pawn is already in overlap box?

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:06pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/5 "2015-06-24T21:06:13Z")

</div>

Fresh project replication instructions.

New 1p template project (4.8 non hotfix)  
Take rounded cube mesh and place it in level above ground not overlapping anytihng. Add a box collider and scale it up a bit but have it not touching box mesh (this SM was inheirited cause I created BP from placed SM but you can add a SM to an actor class BP too as we are) and then select collider box and add OnOverlapEnter(PrintString(“Hello”)) and " “Exit(PrintString"GoodBye”))

Enable physics for inherited (or added) static mesh.

Play,

Results in HelloGoodbye being continuously printed every tick that im moving.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/0/8c0e4ab0d1c2205c9184744edaaaca53eceeccb3.jpeg)  
I tried it with both 4.7 and 4.8 1p meshes.

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:15pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/6 "2015-06-24T21:15:57Z")

</div>

Take 3: Fresh 4.8 project this time using grey man.

Selected forward right large cube and turned it into a BP. Enabled physics on cube. Added a colllission box as you see in picture. Upon entering box whenever moving it fires both enter and exit overlaps you see. Standing still stops that. Disable physics and it works as intended.

[link text][1]

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/9/209288c029ba9c1c721d1e8ef5ed641964661970.jpeg)  
My partner wanted to post this too:

Avolanty: Yeah its using physics on boat, character walks to overlap box and both of these things are firing every tick, boat is moving as well with overlap as a child component to ocean waves. Could it be that if overlap keeps moving with parent boat that it will continuously fire a begin and exit overlap? Even if pawn is already in overlap box?

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:19pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/7 "2015-06-24T21:19:31Z")

</div>

I should add that in my replication attempts, trigger boxes turned into blueprints exhibit similar behavior and fact this is happening on two persons engines… we’ll see if its magically changed after engine finishes updating to 4.8.1

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:27pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/8 "2015-06-24T21:27:52Z")

</div>

Heres one of oher instances I’ve found of this bug.

> **[Collision Boxes trigger simultaneously for both on begin and on end overlap](https://forums.unrealengine.com/questions/197731/collision-boxes-trigger-simultaneously-for-both-on.html)**
>
> Hello, I would like to report that if you have a physics actor and a collision box inside a blueprint then both ‘on begin’ and ‘on end’ overlap always fire at the same time. Thank you.

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:40pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/9 "2015-06-24T21:40:34Z")

</div>

Heres april 10th even earlier. Same thing we had originallly found out that jumping caused it to work normally once as this report describes also.

> **[Overlap not working as expected](https://forums.unrealengine.com/questions/21971/overlap-not-working-as-expected.html)**
>
> Having trouble with overlap events. End overlap event sometimes fires every tick. Jumping can stop / start this behaviour. With this example blueprint the print string functions fire continuously. Not sure what I am missing with this one or is it a...

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:43pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/10 "2015-06-24T21:43:38Z")

</div>

Feb 22 using C++ (coded) similar/exact problem.

> **[Begin/End Overlap same time](https://forums.unrealengine.com/questions/176396/beginend-overlap-same-time.html)**
>
> I have a USphereComponent for an enemy character. When the player walks into the sphere, I want it to trigger the enemy to start attacking, etc. The problem I’m having is when my character walks into the sphere, the OnComponentBeginOverlap is...

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:47pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/11 "2015-06-24T21:47:16Z")

</div>

Another one. This is really intriguing me now.

> **[Trigger overlap events firing inaccurately.](https://forums.unrealengine.com/showthread.php?59969-Trigger-overlap-events-firing-inaccurately)**
>
> I have a sprite that fits well within a trigger box but for some reason the triggerbox fires off Overlap Begin and Overlap End whenever I tap a movement key. If I were to hold my movement key all the way through the triggerbox it registers when I...

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 9:57pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/12 "2015-06-24T21:57:24Z")

</div>

Just tried in 4.8.1 third person to be extra sure and if I take same setup but take box collider and turn “auto weld” off then they work as intended. Otherwise. Same “issue”.

In my opinion sometihngs not right. They are still parented, but autoweld causes overlap events on any movement to fire both enter and exit… trying first person 4.8.1 now and then im done with it for now.

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 24, 2015, 10:09pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/13 "2015-06-24T22:09:57Z")

</div>

Well 1p 4.8.1 same thing. Unchecking autoweld under advanced physics settings for box collider thats a child of mesh “fixes” it but I think thats considered a band-aid in my programmming thoughts.

I’ve tried making box collider smaller than and larger tyhan player capsule and mesh and all sorts of other things.

Trired deleting mesh and leaving only capsule on player. I tried increasing position and velocity solver iteration counts.  
Heres a of latest check. 1p 4.8.1 setup to show bug.

[https://.co.nz/#!mlMHGSpI!WLVbgOLHbRv1Ml9hGrZm0sUK1S9hysUAufP0RjgvUXs](https://.co.nz/#!mlMHGSpI!WLVbgOLHbRv1Ml9hGrZm0sUK1S9hysUAufP0RjgvUXs)

---

<div class="post-metadata">

**Author:** ![Nsomnia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Post date:** [June 27, 2015, 4:53am UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/14 "2015-06-27T04:53:55Z")

</div>

Want to bump this up cause its very reproducable and seems to be what I consider a major blueprint fallback.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [June 29, 2015, 8:44pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/15 "2015-06-29T20:44:03Z")

</div>

Hi ,

Thanks report! I was able to reproduce issue in project you provided, and I’ve created a bug report for issue (UE-17865). I’ll let you know when I see an update on it. Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [August 4, 2015, 8:33pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/16 "2015-08-04T20:33:22Z")

</div>

,

Just wanted to let you know that this has been fixed internally and should no longer occur in 4.9. Thanks again!

---

<div class="post-metadata">

**Author:** ![skeleton60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skeleton60](https://forums.unrealengine.com/u/skeleton60)\
**Post date:** [November 5, 2015, 10:04am UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/17 "2015-11-05T10:04:40Z")

</div>

hey, bug still occur in 4.9.2 need to re-fix

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [November 5, 2015, 2:42pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/18 "2015-11-05T14:42:39Z")

</div>

Yep, it looks like somewhere between 4.9 and 4.9.1, issue was reopened. I’ll post here again when I see that another fix come through. Thanks!

---

<div class="post-metadata">

**Author:** ![ionbordura](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ionbordura](https://forums.unrealengine.com/u/ionbordura)\
**Post date:** [July 25, 2017, 6:12pm UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/19 "2017-07-25T18:12:27Z")

</div>

I am having this issue in 4.16.2

---

<div class="post-metadata">

**Author:** ![ionbordura](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ionbordura](https://forums.unrealengine.com/u/ionbordura)\
**Post date:** [July 31, 2017, 10:52am UTC](https://forums.unrealengine.com/t/physics-actor-overlaps-with-autoweld-enter-exit-both-firing/322818/20 "2017-07-31T10:52:13Z")

</div>

Hi, this issue seems to be in 4.16.2 as well, can you confirm that bug report is re-opened, or should I better write up another report? Thanks!
