Unreal engine 5
how to understand that an object is not completely in the trigger?.
I need to understand that the object is not completely in the trigger and is on the edge. this information must be obtained before the object enters the trigger completely, or before it exits the trigger completely.
Isn’t it possible to check with a line trace when entering a trigger to see if there is a part of the actor still outside of the trigger box? and then maybe every time the actor moves, it checks again until its 100% inside or outside of the trigger box?
You basically place the line trace right outside of the trigger box. In this case the line trace will only return when an object is interacting with the beam, and the beam won’t interact with the box