# How to trigger an event every frame two actors are touching?

**URL:** <https://forums.unrealengine.com/t/how-to-trigger-an-event-every-frame-two-actors-are-touching/388840>\
**Category:** World Creation\
**Tags:** frame, unreal-engine, touch, hit, Collision, question\
**Created:** [March 24, 2017, 12:59am UTC](https://forums.unrealengine.com/t/how-to-trigger-an-event-every-frame-two-actors-are-touching/388840 "2017-03-24T00:59:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JerichoBLT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JerichoBLT](https://forums.unrealengine.com/u/JerichoBLT)\
**Post date:** [March 24, 2017, 12:59am UTC](https://forums.unrealengine.com/t/how-to-trigger-an-event-every-frame-two-actors-are-touching/388840/1 "2017-03-24T00:59:56Z")

</div>

The “hit event” Doesn’t seem to work for what I’m trying to accomplish. (Look at the images below.)

![131450-ue4-screenshot05.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/6/fa6b8670870e4b994e499c7768951695322c6424.jpeg)

 ![131461-ue4-screenshot03.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/7/0a70f1857ea2f8630d2a740f7894da18d30aff60.jpeg)

 ![131462-ue4-screenshot04.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/2/6f2bfcc1d029c028a864146ca7ce9027f7941b4a.jpeg)

Notice how when the player is moving into the wall, the event fires every frame, but when the player holds still, the event doesn’t fire. The capsule is clearly _touching_ the wall, but that doesn’t seem to register as a _hit._

How can I get the event to fire every frame they touch?

---

<div class="post-metadata">

**Author:** ![Althaen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Althaen](https://forums.unrealengine.com/u/Althaen)\
**Post date:** [March 24, 2017, 2:13am UTC](https://forums.unrealengine.com/t/how-to-trigger-an-event-every-frame-two-actors-are-touching/388840/2 "2017-03-24T02:13:23Z")

</div>

You could try casting first to see what you are colliding with and setting a bool variable “Colliding” to true on OverlapBegin instead of hit and false on OverlapEnd. Then use a tick event to do whatever. Not sure if that’s the best way but it is a way.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/9/85934d93ec3ca4ffa61d6064d710e643e6bd32b7.png)

---

<div class="post-metadata">

**Author:** ![JerichoBLT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JerichoBLT](https://forums.unrealengine.com/u/JerichoBLT)\
**Post date:** [March 24, 2017, 3:34am UTC](https://forums.unrealengine.com/t/how-to-trigger-an-event-every-frame-two-actors-are-touching/388840/3 "2017-03-24T03:34:32Z")

</div>

Thanks for the help! But there’s another problem:

You see, I need to get “impact info” (not sure what it’s called) off the collision. (In this case I need “Impact Point” and “Normal.”)

 ![131464-ue4-screenshot06.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/0/e009824205f723799b89e04063119affcffe72de.jpeg)

When I was using the “hit event” it worked perfectly fine, but now with the “overlap event” it doesn’t work at all! All the values return zero!

I did some research on this, and apparently, this feature of Unreal Engine hasn’t even been made yet! But it should be added some day in the future… \*Sigh… maybe I should just wait until then…

---

<div class="post-metadata">

**Author:** ![JerichoBLT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JerichoBLT](https://forums.unrealengine.com/u/JerichoBLT)\
**Post date:** [March 24, 2017, 4:01am UTC](https://forums.unrealengine.com/t/how-to-trigger-an-event-every-frame-two-actors-are-touching/388840/4 "2017-03-24T04:01:55Z")

</div>

Update: Not entirely sure if they’re planning to add this, it’s just a rumor…

(I sure _hope_ they add it!)
