I have generated an EQS query that makes a semi-circle. I have created a context which returns multiple locations in a similar semi-circle.
For each EQS generated point I would like to find the closest point from the context and then score based on distance from that closest point. The built-in Distance test uses some sort of average to all context points so it does not work. Can anyone point me in the right direction?
For me, the trick was figuring out how to get context items and then iterating through them for each EQS generated item. Here’s the test in the Query in the UE4 editor:
I changed the reference value to 0.01 to give the results above. Notice how EQS generated points that are on the context points have scores of 1 while points that are not have lower scores.
Hope this helps the next person that has this issue.