Download

Light object up with pawn sensing

Hi everyone,

I am having a bit of trouble setting up a blueprint and I was just needing a bit of help. I would like to make a light come on when looking at it which I have done (https://forums.unrealengine.com/showthread.php?695-quot-Look-at-object-quot-event-in-Blueprint). However, the Line Trace By channel is too narrow and I would like to use pawn sense (cone view) to get the light to light up when it comes into the view of the players cone. What would this blueprint look like? Thank you.

There are different HitScan types you can use besides LineTrace.

Sphere, Capsule and Box Trace types are also available if you find that a single LineTrace does not suit your needs.