# \[4.8p3+, C++\] NotifyActorBeginOverlap doesn't work

**URL:** <https://forums.unrealengine.com/t/4-8p3-c-notifyactorbeginoverlap-doesnt-work/319817>\
**Category:** C++\
**Tags:** aactor, unreal-engine, question, CPP\
**Created:** [May 26, 2015, 6:06pm UTC](https://forums.unrealengine.com/t/4-8p3-c-notifyactorbeginoverlap-doesnt-work/319817 "2015-05-26T18:06:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krakean\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krakean\_1](https://forums.unrealengine.com/u/Krakean_1)\
**Post date:** [May 26, 2015, 6:06pm UTC](https://forums.unrealengine.com/t/4-8p3-c-notifyactorbeginoverlap-doesnt-work/319817/1 "2015-05-26T18:06:34Z")

</div>

Hi.  
I have C++ class (ATeleporter) sub-classed from AActor.

It has NotifyActorBeginOverlap:

void AATeleporter\_Specials::NotifyActorBeginOverlap(AActor\* OtherActor)

{

```
GEngine->AddOnScreenDebugMessage(2, 2.f, FColor::White, "BeginOverlap");

```

}

And NotifyActorBeginOverlap doesn’t work if root object is too small (z scale = 0).

Screenshots:

[Screenshot - a0339e230ee94efdceeafbeda78e616c - Gyazo](http://gyazo.com/a0339e230ee94efdceeafbeda78e616c) - z scale = 0  
[Screenshot - ff173d24cd204067a3fa2f94e10fe75d - Gyazo](http://gyazo.com/ff173d24cd204067a3fa2f94e10fe75d) - no “BeginOverlap” message.

[Screenshot - 4cee9fded04254b8e1d608a9a2eaf29b - Gyazo](http://gyazo.com/4cee9fded04254b8e1d608a9a2eaf29b) - z scale = 0.25  
[Screenshot - 0864c7e1eeba4fc436d4d08a52c66e32 - Gyazo](http://gyazo.com/0864c7e1eeba4fc436d4d08a52c66e32) - “BeginOverlap” message is shown.

Please, let me know if you can reproduce issue.

---

<div class="post-metadata">

**Author:** ![ScottSpadea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottspadea/32/1194682_2.png) [@ScottSpadea](https://forums.unrealengine.com/u/ScottSpadea)\
**Post date:** [May 26, 2015, 6:13pm UTC](https://forums.unrealengine.com/t/4-8p3-c-notifyactorbeginoverlap-doesnt-work/319817/2 "2015-05-26T18:13:17Z")

</div>

why would you want a perfectly flat collision volume?

---

<div class="post-metadata">

**Author:** ![Krakean\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krakean\_1](https://forums.unrealengine.com/u/Krakean_1)\
**Post date:** [May 26, 2015, 6:56pm UTC](https://forums.unrealengine.com/t/4-8p3-c-notifyactorbeginoverlap-doesnt-work/319817/3 "2015-05-26T18:56:12Z")

</div>

I actually don’t. Just scaled it to 0 so my character was able to step on it and stand. But I was confused why I do not see BeginOverlap message, wasted some time trying to figure out, and when I figured out that issue is in object size, allowed assumption for myself that is could be a bug. May be it isn’t. But still, such behaviour not obvious to me.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [May 26, 2015, 9:14pm UTC](https://forums.unrealengine.com/t/4-8p3-c-notifyactorbeginoverlap-doesnt-work/319817/4 "2015-05-26T21:14:51Z")

</div>

Hey Krakean-

I was able to reproduce the issue with the overlap event not playing and have reported the bug (UE-16170) for investigation. As you mentioned, setting the scale to anything above 0 (I tested with 0.00001) will fix the issue.

Cheers
