Hey all,
So first let me start with what I’m tracing to achieve. Basically I’m creating a mechanic similar to one used in most Zelda games:
When the player camera looks at interactable object (like a switch or button) visual feedback will pop up that tells the player it can be interacted with.
My first thought was achieving this though line tracing on a timer, which would be expensive. Alternatively I thought about attaching an actor to my player character with the AI Perception component, but I don’t know if that will work. I also have a few targetting systems that were on the free for the month list, but I haven’t had time to really dig into them.
If anyone has made a system similar to Zelda’s and can give me some tips I’d appreciate it. I know that doing the trace will work, but I want something more efficient.