How do i line trace along a surface normal?
I am doing an auto cover system for my fps character and i detect cover by using these box traces. But to detect the end of the wall it would work a lot better if i knew how to always start the line trace paralel to the wall, from the outside to the inside(front of player). Can someone please help me?
asked Jan 07 '19 at 02:08 PM in Blueprint Scripting
If you don't want to worry about orientations, you should use a line trace instead of a box trace.
If you want your box to run flat against the wall, then you need to set the trace orientation based on that wall's surface normal (Hit normal).
I wrote out a solution that should work for you, and explained it as I went on stream.
answered Jan 07 '19 at 04:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here