How to calculate the angle of reflection in 3D?

I’m having trouble figuring out how to reflect a material in UE4. The picture demonstrates how i want the character to move. Dark red = Wall, and Green lines = Character path.

There was a typo, i dont want to reflect a material. I want to find a rotator value for a reflection.

Use vectors and make rotators from them. New output direction vector is input direction vector mirrored by wall normal. So get character direction, get wall normal (from hit result), mirror it, and make rotator from X vector.

Here is an example of how line trace ricochet works - A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums