I’m working in the VR template and I’m trying to make a system where when I point at an object, there is text that floats above the object that turns on. Then when the pointer goes elsewhere, the text turns off.
I have a Line Trace by Channel shooting from the MotionController that gives a hit result. The hit result is checked if it implements the correct Interface, if true then Cast to it, then run a ForEachLoop with GetComponentsbyClass of Text Render to Set Visibility of each one to true.
This part work fine and I can point at an object and the text will turn on. I can’t figure out how to then send a negative message to turn them back off. What would be the best way to do this?
Thanks for any help,