Hello There,
I am building a Digital Twin of an airport and am using a level BluePrint to retrieve aircraft positions at the airport every few seconds. The blueprint class spawns the aircraft and gives variables (like position, speed etc) to the spawned object.
What I can not get is how to reference to the spawn objects, as after a few seconds I must update the moving aircraft with a new position (so that I can transform lerp to the new position). It seems that I cannot use the “getActorfromClass” as the list of spawned objects is changing (aircraft fly out of the airport and need to be destroyed, new aircraft are coming is and need to be spawned).
In Unity (build same functionality) I could have a unique reference to the spawned object, but I can not find the same functionality in Unreal (and the functionality must be there).
Someone has an Idea how to do this via BluePrints?
Thanks in advance,
Peter
KLM Royal Dutch Airlines