I’m making an interaction system where when you can interact with an object it gets a yellow outline and because I have the code that checks if the object is interactable (using line trace) I was wondering if there is any way I can get the actor the line trace is overlapping, cast to him and then set the depth from 0 to 1 so it glows?
Interaction system:
If you need any further info just ask me. Thanks in advance.