Is there a "look at" trigger to toggle visibility?

Hey there :smiley:
is there a kind of “look at”-trigger? i mean something that triggers if i look at an specific actor like in my example picture i made of in photoshop:
As long as you look at the actor a second mesh is toggled visible:

as soon as you look away the mesh is toggle again (invisbile)

if someone has an idea, that would be great :smiley:

You could do a sphere trace (I think the node is called ‘SingleSphere Trace …’) or a line trace to check for collision with the object. Cast the object you hit to the type you are looking for and switch on the visibility for that second mesh.

Just use your camera position as the start vector and multiply your camera’s forward vector by maybe 20.000 , add the camera position and use that point as the end vector.

Were you able to figure this out? I can’t seem to get this working.