# Collision Object Channel doesn't get overlap event

**URL:** <https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461>\
**Category:** World Creation\
**Tags:** object, overlap, channel, unreal-engine, Collision, question, CPP\
**Created:** [September 1, 2017, 9:50am UTC](https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461 "2017-09-01T09:50:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_760dd108](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_760dd108](https://forums.unrealengine.com/u/anonymous_user_760dd108)\
**Post date:** [September 1, 2017, 9:50am UTC](https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461/1 "2017-09-01T09:50:41Z")

</div>

Hello everyone,  
I’m having a problem with a Custom Collision Object Channel. I have set a new object channel in edito, I have checked the correspondent ECC\_TraceChannel in DefaultEngine.ini and i have defined my macros referring to the trace channel in my .h file. I’m setting an Overlap response in SetCollisionResponseToChannel to this channel and in editor I’m changing the desired objects (walls in my case) to custom object type. When the character overlaps to these objects nothing happens, if I revert my code and the object to overlap as ECC\_WorldStatic the overlap is triggered. For testing I have tried to set via code the object type of my pawn components to my custom one to see if the reference macros-custom trace channel is working. In editor I can see that the pawn components are of the right custom collision channel.

Since I don’t have and I don’t need a custom class for these objects I would like to know what I’m missing in order to set all these walls in a precise custom object type channel and trigger an overlap event through C++.

Thank you

---

<div class="post-metadata">

**Author:** ![Hyperloop](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hyperloop/32/1203427_2.png) [@Hyperloop](https://forums.unrealengine.com/u/Hyperloop)\
**Post date:** [December 3, 2017, 11:26pm UTC](https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461/2 "2017-12-03T23:26:25Z")

</div>

I can’t get custom collision channels to work either…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_277c86b9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_277c86b9](https://forums.unrealengine.com/u/anonymous_user_277c86b9)\
**Post date:** [December 4, 2017, 8:04am UTC](https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461/3 "2017-12-04T08:04:56Z")

</div>

it seems you have done every thing except adding UFUNCTION() Macro to the function which is responsible to detect overlaps. you might have named it onBeginOverLap

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_760dd108](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_760dd108](https://forums.unrealengine.com/u/anonymous_user_760dd108)\
**Post date:** [December 4, 2017, 10:35am UTC](https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461/4 "2017-12-04T10:35:12Z")

</div>

Thanks for the reply.

The collision channel were set properly, the problem turned out to be something else.

---

<div class="post-metadata">

**Author:** ![NotTheDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NotTheDev](https://forums.unrealengine.com/u/NotTheDev)\
**Post date:** [February 14, 2018, 9:52pm UTC](https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461/5 "2018-02-14T21:52:11Z")

</div>

You should post the answer for anyone finding this thread in the future.

---

<div class="post-metadata">

**Author:** ![PeterW\_art](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterW\_art](https://forums.unrealengine.com/u/PeterW_art)\
**Post date:** [August 30, 2023, 7:04am UTC](https://forums.unrealengine.com/t/collision-object-channel-doesnt-get-overlap-event/403461/6 "2023-08-30T07:04:43Z")

</div>

very helpful 🙄
