Hi everyone,
I’m a beginner with Unreal Engine, and I’m facing an issue with my anomaly detector system in Blueprint.
Problem:
I have a system where the detector shows the distance and direction to anomalies. It works perfectly when there’s only one anomaly, but when there are multiple anomalies in range, the detector only displays the last one, ignoring the others.
What I’ve done so far:
- I’m using an array to store all detected anomalies within the detector’s range.
- I run a
ForEachLoop
through the array, passing the data (angle and distance) for each anomaly to the widget. - However, each time the system updates, it overwrites the previous anomaly data, and only the last anomaly in the array is shown on the detector.
What I need:
I need the detector to show all anomalies simultaneously on the widget, not just the last one. How can I process multiple anomalies from the array so that all of them are displayed at the same time?
Any advice or examples would be greatly appreciated! Thanks in advance!
P.S. I’ve attached my current Blueprint to give a better idea of the issue.