My linetraces going through my characters, they have collision cylinders, but this isn’t working and my linetraces still going through them. Tried to create a new character blueprint to test it, and result is still be same, my linetraces still going through them.
Check the collisions. Check:
-
In the enemy capsule collision, check the trace response:
-
In the line trace, check the trace channel:
By values in the above pics are the default and as you can see the trace response to “Visibility” is “Ignore” and the ray trace is set to “Visibility”, which means, the line trace will be ignored.
If you change either the channel in the line trace to “Camera” or change the trace response of “Visibility” to Block in the capsule, then it should work.
1 Like
check if your enemies have ‘block all’ and ‘generate hit events’ enabled.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.