You could scale text component based on camera distance, you can easily get distance between vector here
With HUD you would need tracing to check if actor is visible for player
You could scale text component based on camera distance, you can easily get distance between vector here
With HUD you would need tracing to check if actor is visible for player