Subtract the actor’s location from the target’s. Get the actor’s right vector and compare that with the vector we’ve just created using the delta rotator blueprint node.
It always points in kind of the same direction
I also tried vector projection but it does the same thing as you said
It’s Pythagoras, no?
Or do you just want the normal from the hit face?
Yes Pythagoras but I want the vector that forms the 90° angle from 2 other vectors
need it to solve a bug in my path-finding system (one actor location and the other is 2nd last path point)
But here, it’s just the face normal
The system finds the obstacles between the path points using a line trace
But it has a bug that the line traces sometimes hit the other actor which is useless as an obstacle
so I hope to find a location a little bit away from the target so the path won’t hit other walls.