Hey Guys
I just wanted to ask what is the best way to have objects you can interact with Show Interaction Text or change the crosshair when the crosshair is over them/player is looking at.
I am currently using a collision box coming out from my camera and using On Overlap event.
I’ve heard you can also do it with a Line Trace on event tick, but I don’t know how to set this up. And doing it this way, wouldn’t the Pop Up text rapidly go on an off with the tick since it’s not constant.
My current way seems to be ok and working as intended with only slight issues.
I was just wondering how others handle this sort of thing.
Thanks.
Yes you can easy make interaction with line trace. It would me more precise. If you want this there is a lot of youtube vids about it. Pop up text you can make as you want. On side on middle with animations on click events. And text would show based on your bp: once twice or every frame. how you like. Check it on youtube.
I don’t suppose you know of any links. I have searched and can’t find any. Most of them are using collision boxes/spheres to do it and not line traces. I already have my interaction set up which I use a line trace for and all works fine.
All I want to do, is know how by using a line trace, can I show some text above an object I am looking at. I know I would have to do a line trace on event tick, but how do I get it to display a widget on screen when I am looking at an object and then disappear when I am not looking at the object.
Nevermind, I figured it out with some more trial and error and now have it working like a charm. Thanks the help though.