Susp_1
(Susp_1)
November 29, 2023, 8:47pm
1
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
eldany.uy
(eldany.uy)
November 29, 2023, 10:20pm
2
if actors are 100% inside the box then there is not overlapping at all. Overlap means faces intersecting.
SolidSk
(SolidSk)
November 29, 2023, 11:28pm
3
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/
Susp_1
(Susp_1)
November 30, 2023, 1:17am
4
Ohhh okay that makes more sense now! Thanks!
1 Like