Hello everyone! I am working on a custom stealth game while following the course and using some of the same mechanics and everything.
I am having a problem where the sensor camera is detecting the player through walls because of how the detection is set up for it in the course. So what I am trying to do is cast a line trace when the player is detected in the zone, and if it hits the player it means they are visible and the meter should increase.
However, for whatever reason the line trace is going through the player and ignoring it. I have checked the collision channel and don’t know why it is not detecting the player. Screenshots and a video are below.
Collision Settings of the Player Chracter
My Line Trace from the camera to the player
DetectionSensor TriggerDetectionZone Collision Settings
Video Showing the Line Trace shooting at the player, but not detecting.
The video shows the player not getting detected, I have my blueprints currently set up to print the detected actor hit from the line trace.
Can provide more info if needed. Thanks ahead of time to anyone who assists.