I’m stuck at a problem at the moment, and I hope there might be someone who could help me find a solution and tell me if it is at all possible. Being still relatively new to blueprints (and UE4 in general), I honestly have no idea how to approach this.
The short story is that when an object on the map intersects multiple collision volumes, I want to detect which of the collision volumes the object intersects “the most”. I only want this detection to detect on the X-axis and Y-axis, not in the Z-axis.
I’ve added a picture example to the bottom to help describe the issue. The two squares represent two separate collision volumes, and the blue circle representing a map object that intersect both collision volumes. As you can see, the red volume covers approx. 25% of the object, whilst the green one covers a larger area of the object, about half of the object. In other words, in the picture below, I would want the blueprint to return to me that the green collision volume is the one that the object intersects the most.