Download

Look At Hit

Ok, I have a box that when the actor overlaps, changes the color of a wall. Works great. But I want to set this so when the actor Looks at the box (the box is at the center of the screen), the wall changes color. How is this possible? Perhaps a good reference is the red crosshairs provided with the “First Person Template”. If this red crosshairs hits the box in the viewpart, it changes the color of the walls.

Any suggestions on how this is done?

An easy way you can test out. Bind a collision box onto your playermodel and check overlap through that, you can easy choose range/size.
Trace is better, but more complicated.
https://www.google.de/?gws_rd=ssl#q=ue4+raytrace+tutorial