I am trying to deflect a non physic projectile with a pipe, So I thinked to get the normal of the face the projectile hits using a linetrace, but when I get the normal that always returned me the normal of the object, not the normal of the impact face.
Anyone knows how can I detect that normal to send the projectile in that way? I am using blueprints for all of this.
Edit:
In short - the normal should be correct. To draw it correctly, however you should make:
Start = ImpactPoint;
End = ImpactPoint + ImpactNormal * 100.0f;
//The *100 is just because the ImpactNormal is 1 centimeter long by definition and you might not see it.
Also, you don’t need the second LineTraceByChannel just to draw a line. You can use DrawDebugLine instead.