Trigger on Look?

Hi there,

I have seen questions similar to this but it seems to be a pretty tough one to answer since no one seems to have found a descriptive answer. Basically, I was wondering how you can get an event to trigger when the player looks at an object or in the direction of an object.

I am assuming this is done with raycasting or some equivalent. Any info or tips are appreciated!

Thanks!

Yes, you will need to do LineTrace on Tick

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Collision/LineTraceforObjects/index.html