# How can I check who is actor colliding with

**URL:** <https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977>\
**Category:** World Creation\
**Tags:** unreal-engine, Physics, Collision, question, box-overlap\
**Created:** [August 3, 2021, 2:06pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977 "2021-08-03T14:06:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![StibiumWeboo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StibiumWeboo](https://forums.unrealengine.com/u/StibiumWeboo)\
**Post date:** [August 3, 2021, 2:06pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/1 "2021-08-03T14:06:27Z")

</div>

I mean something like if actor1 overlap with actor2 it’ll change float1 variable and when actor1 overlap with actor3 it’ll change float2

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 3, 2021, 2:19pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/2 "2021-08-03T14:19:53Z")

</div>

There is no difference between actor1 overlapping with 2 or actor 2 overlapping with 1, they will both see the collision.

---

<div class="post-metadata">

**Author:** ![StibiumWeboo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StibiumWeboo](https://forums.unrealengine.com/u/StibiumWeboo)\
**Post date:** [August 3, 2021, 2:29pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/3 "2021-08-03T14:29:50Z")

</div>

so there’s no chance to make it work?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 3, 2021, 2:37pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/4 "2021-08-03T14:37:26Z")

</div>

- _actor1 overlap with actor2 it’ll change float1_

- vs

- _actor1 overlap with actor2 it’ll change float2_

You sure you meant to write it like this? Because this is contradicting itself. As in, it’s the same thing.

* * *

What exactly are you trying to detect? Which actor overlaps the other actor first? How would that work? The overlaps happen at the same time. You’ll need more data:

- perhaps actor velocity matters?
- perhaps actors have priority?
- perhaps there’s something else to differentiate them

---

<div class="post-metadata">

**Author:** ![StibiumWeboo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StibiumWeboo](https://forums.unrealengine.com/u/StibiumWeboo)\
**Post date:** [August 3, 2021, 7:14pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/5 "2021-08-03T19:14:45Z")

</div>

oh sorry i meant actor1 overlap with actor2 and actor1 overlap with actor3 my bad

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 3, 2021, 7:26pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/6 "2021-08-03T19:26:50Z")

</div>

There’s now actor 3? I don’t get it.

Could you please explain _in a lot of detail_ what you’re trying to do. Grilling people for info is no fun at all. 😑

* * *

And the bullet points? As explained above - the overlaps happen simultaneously. You need additional data to determine who’d go first. Provide a real life example, include a screenshot, with arrows and stuff.

We may be simply missing the point of what you’re trying to achieve.

---

<div class="post-metadata">

**Author:** ![StibiumWeboo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StibiumWeboo](https://forums.unrealengine.com/u/StibiumWeboo)\
**Post date:** [August 4, 2021, 11:33am UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/7 "2021-08-04T11:33:24Z")

</div>

I need this function for a lot of things so i can’t explain exactly what is this for, i need that so actor would know who is it coliding with, and with that information it would start another function like changing variable or something else

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 4, 2021, 12:18pm UTC](https://forums.unrealengine.com/t/how-can-i-check-who-is-actor-colliding-with/486977/8 "2021-08-04T12:18:45Z")

</div>

> i need that so actor would know who is  
> it coliding with

![345596-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/8/e583c34133653dce9d681959ea3dd90fcc2274fe.png)

Above: `Other` is the actor this actor collided with.

* * *

Mandatory read if you’re new to collisions:

> **[Collision Filtering in Unreal Engine 4](https://www.unrealengine.com/en-US/blog/collision-filtering)**
>
> Choosing what collides is obviously very important, but it can be tricky, and it’s a problem that we have spent quite a while discussing while developing UE4. The system we have can seem a little complex at first, but it is very powerful and...

Good luck!
