Download

Line of Sight

Hello,

I am currently trying to return a true or false value for whether or not an object is visible from the line of sight of a camera contained within the character blueprint. I have this almost working, but the code attached seems to assume the character has 360 degree vision - it marks objects as visible so long as there isn’t anything (e.g. a wall) blocking the visibility of the object. I want the object to have to be visible from the first person camera. Any advice would be greatly appreciated!

What about a multi trace, and see if it’s the first thing: