# Overlaps events begin/end fired every frame

**URL:** <https://forums.unrealengine.com/t/overlaps-events-begin-end-fired-every-frame/367403>\
**Category:** World Creation\
**Tags:** overlap, leap-motion, interaction, unreal-engine, Collision, Widget, question\
**Created:** [August 17, 2016, 11:02am UTC](https://forums.unrealengine.com/t/overlaps-events-begin-end-fired-every-frame/367403 "2016-08-17T11:02:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcassin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marcassin](https://forums.unrealengine.com/u/Marcassin)\
**Post date:** [August 17, 2016, 11:02am UTC](https://forums.unrealengine.com/t/overlaps-events-begin-end-fired-every-frame/367403/1 "2016-08-17T11:02:12Z")

</div>

Hello guys,

**Goal :**  
I’m using the _LeapRiggedEchoHandActor_ from the Leap Motion plugin to add hands to my pawn. I’m trying to add 3D interaction/collision (Using overlap Begin and End events ) for the hands of my character, to be able to detect when an hand is “pushing” a button, and when it’s released

**Current implementation**

I’ve created an actor (with a widget component _ButtonMenu_ ; adding a box collision component instead have same behavior) and attached it to a socket of my LeftHandMeshComponent. _MainsLeapMotionBP_ inherits from _LeapRiggedEchoHandActor_ .  
Both LeftHandMesh and RightHandMesh are SkeletalMeshComponents (echo\_lo\_L and echo\_lo\_r respectively) and they both have physicsAssets

![103220-handsactor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/4/e24c9d38293c723b7549f7a0adb80cfccf02fc93.png)

![103231-menuactor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/1/fe1dbc2f06e023420505f0934f27242eb6160f5c.png)

I’ve created a new collision preset for this kind of interaction actor in order to generate overlaps with the Right Hand (physics Body).

 ![103218-menuactorcollision.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/9/8b99b292709b237d9e8ade03c22874a484ff2373.png)

 ![103219-righthandmeshcollisions.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/2/572ba4712715133f9c783d1b0ccbc3849c4fd781.png)

**Issue**

The _OnComponentBeginOverlap_ and _OnComponentEndOverlap_ events are fired continously, like every frames. I cannot set up a timer for the overlapped time.

I followed the documentation about [collision][5] and modified my Leap UI collisions preset to block PhysicsBody, but the behavior is the same.

**Questions**

- Do i have misunderstood something in the collisions presets between these 2 actors ?
- Should I modify something in the physical assets of the skeletal hands meshes ?

Thanks a lot for any feedback,

---

<div class="post-metadata">

**Author:** ![Osok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Osok](https://forums.unrealengine.com/u/Osok)\
**Post date:** [August 19, 2016, 6:48am UTC](https://forums.unrealengine.com/t/overlaps-events-begin-end-fired-every-frame/367403/2 "2016-08-19T06:48:29Z")

</div>

I ran into a similar issue. Put a sphere collision attached to my hmd camera (the official 4.13 VR template) and when I overlap and call OnComponentBeginOverlap it fires every frame not just one time. Never saw this happen in the past. I wonder if it is something with the VR aspect.

---

<div class="post-metadata">

**Author:** ![Marcassin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marcassin](https://forums.unrealengine.com/u/Marcassin)\
**Post date:** [August 29, 2016, 11:44am UTC](https://forums.unrealengine.com/t/overlaps-events-begin-end-fired-every-frame/367403/3 "2016-08-29T11:44:59Z")

</div>

Hey,  
I’ve made some test and you’re right, this issue shows up in HMD mode. Playing in a “new Editor Window” works fine and overlaps event all called once, like it should. I’m gonna [post](https://answers.unrealengine.com/questions/477549/different-collision-behavior-in-vr-mode-for-attach.html) in the bug section.

---

<div class="post-metadata">

**Author:** ![Marcassin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marcassin](https://forums.unrealengine.com/u/Marcassin)\
**Post date:** [September 19, 2016, 1:22pm UTC](https://forums.unrealengine.com/t/overlaps-events-begin-end-fired-every-frame/367403/4 "2016-09-19T13:22:01Z")

</div>

This is not a bad BP scripting or collisions management issue but a bug found in VR mode : UE-36103

See the [post](https://answers.unrealengine.com/questions/477549/different-collision-behavior-in-vr-mode-for-attach.html) in the bug sections.
