Best practices: Minimap Tracking System

Raidfire.Net
Wed, 15 Apr 2015 16:27:54 +0000
UI

Hi,

i have created a minimap with render target, scene capture 2d and a material that puts all the stuff together and draws the whole minimap.

It works, but now i want to add little points for characters or enemies and icons for locations into this minimap.

I have different solutions to realize this, but these solutions are uncomfortable. The bad thing is using “Get all actors by class”. It is a slow function and cannot be run at every tick. And creating an dynamic array and add/delete trackers is something that i would avoid.

I have thought a while about this and got a first idea: Like in real world soldiers have a tracking device, i would suggest to create a special component and pin it at the root of a Character BP for example. But how can i request all these trackers without massive performance loss.

If anybody is familiar with Minimaps, please tell me how can i solve this. How is that handled in other games?

Thanks in advance

3 posts - 1 participant