Box Collision not working

I spawn a box collision, and when it spawns, it already overlaps actors, I want to get all of the actors that are within the box. The event does not fire. This is the box collision collision


This is the actor’s capsule component in question

I know for a fact that the actor in question is within the collision. This is how i’m using it

if actors are 100% inside the box then there is not overlapping at all. Overlap means faces intersecting.

I had a similar problem, what I did was use MultiLineTraceByChannel to return the objects inside the box ( don’t forget to ignore the object itself ).

https://docs.unrealengine.com/5.3/en-US/using-a-multi-line-trace-raycast-by-channel-in-unreal-engine/

You can use GetActorLocation and GetActorBounds to know where to Start and End the trace:

https://docs.unrealengine.com/5.0/en-US/BlueprintAPI/Collision/GetActorBounds/

Ohhh okay that makes more sense now! Thanks!

1 Like