Hey all,
I want to put an indicator over top of objects in my game world that the player can interact with (indicating an NPC they can converse with, item they can pick up, terminal they can use, etc).
When the player isn’t close, I don’t want to draw these indicators. What is the best method to use to toggle them on or off? A simple distance check (player position to object position) or a trigger? Triggers are easy, but I wasn’t sure of the performance overhead.
Thanks!